/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/util/ |
H A D | FileUtil.java | 6 * The contents of this file are subject to the terms 8 * (the License). You may not use this file except in 17 * Header Notice in each file and include the License file 49 * @param file 50 * source file 51 * @return content of the source {@code file} 53 * when the source {@code file} can not be read 55 public final static String readLargeFile(File file) throws IOException { argument 56 FileChannel channel = new FileInputStream(file) 72 readFile(File file) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/server/changelog/file/ |
H A D | ReplicaCursorTest.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 25 package org.opends.server.replication.server.changelog.file; 32 import org.opends.server.replication.server.changelog.file.ReplicaCursor;
|
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/tasks/ |
H A D | AddSchemaFileTaskTestCase.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 80 * Attempts to add a new file to the server schema where the file exists and 130 "ds-task-id=add-single-valid-file,cn=Scheduled Tasks,cn=Tasks"; 136 "objectClass: ds-task-add-schema-file", 137 "ds-task-id: add-single-valid-file", 139 "ds-task-schema-file 256 writeLines(File file, String[] lines) argument [all...] |
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/upgrade/ |
H A D | ChecksumFile.java | 2 * The contents of this file are subject to the terms of the Common Development and 3 * Distribution License (the License). You may not use this file except in compliance with the 9 * When distributing Covered Software, include this CDDL Header Notice in each file and include 10 * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL 23 import java.nio.file.Files; 24 import java.nio.file.Path; 25 import java.nio.file.Paths; 34 * Map-backed checksum file abstraction of the format 43 /** Hex adapter for converting hex sums in checksum file to byte arrays */ 46 // Path to checksums file 97 resolvePath(Path file) argument [all...] |
/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/utils/ |
H A D | FileUtil.java | 2 * The contents of this file are subject to the terms of the Common Development and 3 * Distribution License (the License). You may not use this file except in compliance with the 9 * When distributing Covered Software, include this CDDL Header Notice in each file and include 10 * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL 37 * Delete a file or directory and optionally recurse into subdirectories. 39 * @param file the file or directory to delete 42 public void delete(File file, boolean recurse) { argument 43 if (file.exists()) { 45 File[] files = file [all...] |
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/ |
H A D | StdDebugFile.java | 2 * The contents of this file are subject to the terms of the Common Development and 3 * Distribution License (the License). You may not use this file except in compliance with the 9 * When distributing Covered Software, include this CDDL Header Notice in each file and include 10 * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL 16 package com.sun.identity.shared.debug.file.impl; 21 import com.sun.identity.shared.debug.file.DebugFile; 30 * Debug file dedicated to std out 42 * Get std out debug file 44 * @return std debug file
|
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/utils/file/ |
H A D | FileSizeUnit.java | 2 * The contents of this file are subject to the terms of the Common Development and 3 * Distribution License (the License). You may not use this file except in compliance with the 9 * When distributing Covered Software, include this CDDL Header Notice in each file and include 10 * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL 17 package org.forgerock.openam.utils.file; 24 * Gigabyte file size unit. 53 * Megabyte file size unit. 82 * Kilobyte file size unit. 111 * Byte file size unit.
|
/forgerock/openam/openam-tools/build-helper-plugin/src/main/java/org/forgerock/maven/plugins/inject/content/ |
H A D | IOFactory.java | 2 * The contents of this file are subject to the terms of the Common Development and 3 * Distribution License (the License). You may not use this file except in compliance with the 9 * When distributing Covered Software, include this CDDL Header Notice in each file and include 10 * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL 31 * Class which provides methods that perform IO operations, such as copying contents into a file, copying and deleting 32 * a temporary file. 41 * @param file The file. 43 * @throws FileNotFoundException If the file does not exist. 45 BufferedReader newReader(File file) throw argument 56 newWriter(File file) argument 67 createTemporaryFile(File file) argument [all...] |
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 16 * file and include the License file at 53 // The path to the file that will be used if there are no differences between 78 * Calculates the checksum of a file 85 private long calcChecksum(File file) throws Exception argument 88 BufferedReader reader = new BufferedReader(new FileReader(file)); 139 * <LI>The path to the source LDIF file</LI> 140 * <LI>The path to the target LDIF file</L [all...] |
/forgerock/opendj2/src/build-tools/org/opends/build/tools/ |
H A D | ProcessFilesForPackages.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 117 * Formats the file list to be supported by RPM. 135 * Formats the file list to be supported by RPM. 199 new File(new URI("file:///" 217 // Completes the document file list. 229 * The file we want the relative path. 239 * A file filte 244 accept(File file) argument 263 accept(File file) argument [all...] |
/forgerock/opendj2/src/guitools/org/opends/guitools/controlpanel/datamodel/ |
H A D | BinaryValue.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 36 * when the user wants to use the value in a file. To be able to reflect 38 * representation and the file that has been used. 46 private File file; field in class:BinaryValue 107 * Creates a binary value using an array of bytes and a file. 108 * @param bytes the bytes in the file. 109 * @param file th 112 createFromFile(byte[] bytes, File file) argument [all...] |
/forgerock/opendj-b2.6/src/guitools/org/opends/guitools/controlpanel/datamodel/ |
H A D | BinaryValue.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 16 * file and include the License file at 37 * when the user wants to use the value in a file. To be able to reflect 39 * representation and the file that has been used. 47 private File file; field in class:BinaryValue 108 * Creates a binary value using an array of bytes and a file. 109 * @param bytes the bytes in the file. 110 * @param file th 113 createFromFile(byte[] bytes, File file) argument [all...] |
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/server/changelog/file/ |
H A D | ReplicationEnvironmentTest.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 26 package org.opends.server.replication.server.changelog.file; 51 import static org.opends.server.replication.server.changelog.file.ReplicationEnvironment.*; 317 // consistency with domain state file
|
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 52 // The path to the file that will be used if there are no differences between 77 * Calculates the checksum of a file 84 private long calcChecksum(File file) throws Exception argument 87 BufferedReader reader = new BufferedReader(new FileReader(file)); 138 * <LI>The path to the source LDIF file</LI> 139 * <LI>The path to the target LDIF file</L [all...] |
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 16 * file and include the License file at 53 // The path to the file that will be used if there are no differences between 78 * Calculates the checksum of a file 85 private long calcChecksum(File file) throws Exception argument 88 BufferedReader reader = new BufferedReader(new FileReader(file)); 139 * <LI>The path to the source LDIF file</LI> 140 * <LI>The path to the target LDIF file</L [all...] |
/forgerock/opendj2.6.2/src/guitools/org/opends/guitools/controlpanel/datamodel/ |
H A D | BinaryValue.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 16 * file and include the License file at 37 * when the user wants to use the value in a file. To be able to reflect 39 * representation and the file that has been used. 47 private File file; field in class:BinaryValue 108 * Creates a binary value using an array of bytes and a file. 109 * @param bytes the bytes in the file. 110 * @param file th 113 createFromFile(byte[] bytes, File file) argument [all...] |
/forgerock/opendj2-hg/src/build-tools/org/opends/build/tools/ |
H A D | ProcessFilesForPackages.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 117 * Formats the file list to be supported by RPM. 135 * Formats the file list to be supported by RPM. 199 new File(new URI("file:///" 217 // Completes the document file list. 229 * The file we want the relative path. 239 * A file filte 244 accept(File file) argument 263 accept(File file) argument [all...] |
/forgerock/opendj2-hg/src/guitools/org/opends/guitools/controlpanel/datamodel/ |
H A D | BinaryValue.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 36 * when the user wants to use the value in a file. To be able to reflect 38 * representation and the file that has been used. 46 private File file; field in class:BinaryValue 107 * Creates a binary value using an array of bytes and a file. 108 * @param bytes the bytes in the file. 109 * @param file th 112 createFromFile(byte[] bytes, File file) argument [all...] |
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/server/changelog/file/ |
H A D | ReplicationEnvironmentTest.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 26 package org.opends.server.replication.server.changelog.file; 51 import static org.opends.server.replication.server.changelog.file.ReplicationEnvironment.*; 317 // consistency with domain state file
|
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 15 * file and include the License file at legal-notices/CDDLv1_0.txt. 52 // The path to the file that will be used if there are no differences between 77 * Calculates the checksum of a file 84 private long calcChecksum(File file) throws Exception argument 87 BufferedReader reader = new BufferedReader(new FileReader(file)); 138 * <LI>The path to the source LDIF file</LI> 139 * <LI>The path to the target LDIF file</L [all...] |
/forgerock/opendj2-jel-hg/src/guitools/org/opends/guitools/controlpanel/datamodel/ |
H A D | BinaryValue.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 16 * file and include the License file at 37 * when the user wants to use the value in a file. To be able to reflect 39 * representation and the file that has been used. 47 private File file; field in class:BinaryValue 108 * Creates a binary value using an array of bytes and a file. 109 * @param bytes the bytes in the file. 110 * @param file th 113 createFromFile(byte[] bytes, File file) argument [all...] |
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 4 * The contents of this file are subject to the terms of the 6 * (the "License"). You may not use this file except in compliance 16 * file and include the License file at 53 // The path to the file that will be used if there are no differences between 78 * Calculates the checksum of a file 85 private long calcChecksum(File file) throws Exception argument 88 BufferedReader reader = new BufferedReader(new FileReader(file)); 139 * <LI>The path to the source LDIF file</LI> 140 * <LI>The path to the target LDIF file</L [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | StreamSubstituter.java | 6 * The contents of this file are subject to the terms 8 * (the License). You may not use this file except in 18 * Header Notice in each file and include the License file 51 // cache for files, key is the file name, value is the StringBuffer 52 // representation of the file 67 * @param key file name used as key for cache 68 * @param val string value for representation of the file 85 * Load file from file syste 90 loadFile(File file) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/setup/ |
H A D | Bootstrap.java | 6 * The contents of this file are subject to the terms 8 * (the License). You may not use this file except in 18 * Header Notice in each file and include the License file 74 * Directory where bootstrap file resides. 83 * Loads System Property with the bootstrap file that is 104 * Loads System Property with the bootstrap file that is 107 * @param basedir Directory where bootstrap file resides. 108 * bootstrap file can contain either an URL where 110 * or a file tha 294 readFile(String file) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/tools/manifest/ |
H A D | FilesDigester.java | 6 * The contents of this file are subject to the terms 8 * (the License). You may not use this file except in 18 * Header Notice in each file and include the License file 54 * @param includePattern A list of patterns of file name should be included. 55 * @param excludePattern A list of patterns of file name should be excluded. 68 * This function calculate the hash value of a war file. 71 * files contained in the war file. 75 * @param wfile The war file to be processed. 76 * @param intoJar The flat to indicate whether to handle jar file b 170 digest(String hashAlg, File file, Properties digestResult, String ignoredPath, boolean intoJar, boolean intoWar) argument [all...] |