/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/tools/bundles/ |
H A D | CopyUtils.java | 55 * @param sourceFile The source file object. 60 public static void copyFile(File sourceFile, File destFile, argument 62 copyFile(sourceFile, destFile, null, overwrite, preserveLastModified); 70 * @param sourceFile The source file object. 77 public static void copyFile(File sourceFile, File destFile, argument 81 (destFile.lastModified() < sourceFile.lastModified())) { 89 if (sourceFile.isDirectory()) { 96 FileReader(sourceFile)); 124 in = new FileInputStream(sourceFile); 137 destFile.setLastModified(sourceFile [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/tools/bundles/ |
H A D | CopyUtils.java | 55 * @param sourceFile The source file object. 60 public static void copyFile(File sourceFile, File destFile, argument 62 copyFile(sourceFile, destFile, null, overwrite, preserveLastModified); 70 * @param sourceFile The source file object. 77 public static void copyFile(File sourceFile, File destFile, argument 81 (destFile.lastModified() < sourceFile.lastModified())) { 89 if (sourceFile.isDirectory()) { 96 FileReader(sourceFile)); 124 in = new FileInputStream(sourceFile); 137 destFile.setLastModified(sourceFile [all...] |
/forgerock/openam-v13/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/ |
H A D | ReplaceTokens.java | 43 * Class ReplaceTokens has the functionality to scan sourceFile extract tokens, 54 * @param sourceFile 58 * sourceFile with token-tags swapped. transformed 62 public ReplaceTokens(String sourceFile, String destFile, Map tokens) argument 64 setSourceFile(sourceFile); 233 return sourceFile; 244 private void setSourceFile(String sourceFile) { argument 245 this.sourceFile = sourceFile; 254 private String sourceFile; field in class:ReplaceTokens [all...] |
/forgerock/openam/openam-tools/openam-installtools/src/main/java/com/sun/identity/install/tools/util/ |
H A D | ReplaceTokens.java | 43 * Class ReplaceTokens has the functionality to scan sourceFile extract tokens, 54 * @param sourceFile 58 * sourceFile with token-tags swapped. transformed 62 public ReplaceTokens(String sourceFile, String destFile, Map tokens) argument 64 setSourceFile(sourceFile); 233 return sourceFile; 244 private void setSourceFile(String sourceFile) { argument 245 this.sourceFile = sourceFile; 254 private String sourceFile; field in class:ReplaceTokens [all...] |
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 280 * @param sourceFile The path to the file containing the source 298 public void testVerifyNormal(String sourceFile, String targetFile, argument 307 "-s", sourceFile, 314 "-s", sourceFile, 347 * @param sourceFile The path to the file containing the source 365 public void testVerifySingleValue(String sourceFile, String targetFile, argument 374 "-s", sourceFile, 382 "-s", sourceFile, 412 * @param sourceFile The path to the file containing the source 430 public void testReconstructNormal(String sourceFile, Strin argument 537 testReconstructSingleValue(String sourceFile, String targetFile, String normalDiffFile, String singleValueDiffFile, int resultCode) argument 676 testVerifyIgnoreAttributes(String sourceFile, String targetFile, String ignoreAttributesFile, String normalDiffFile) argument 763 testVerifyIgnoreEntries(String sourceFile, String targetFile, String ignoreEntriesFile, String normalDiffFile) argument [all...] |
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 279 * @param sourceFile The path to the file containing the source 297 public void testVerifyNormal(String sourceFile, String targetFile, argument 306 "-s", sourceFile, 313 "-s", sourceFile, 346 * @param sourceFile The path to the file containing the source 364 public void testVerifySingleValue(String sourceFile, String targetFile, argument 373 "-s", sourceFile, 381 "-s", sourceFile, 411 * @param sourceFile The path to the file containing the source 429 public void testReconstructNormal(String sourceFile, Strin argument 536 testReconstructSingleValue(String sourceFile, String targetFile, String normalDiffFile, String singleValueDiffFile, int resultCode) argument 675 testVerifyIgnoreAttributes(String sourceFile, String targetFile, String ignoreAttributesFile, String normalDiffFile) argument 762 testVerifyIgnoreEntries(String sourceFile, String targetFile, String ignoreEntriesFile, String normalDiffFile) argument [all...] |
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 280 * @param sourceFile The path to the file containing the source 298 public void testVerifyNormal(String sourceFile, String targetFile, argument 307 "-s", sourceFile, 314 "-s", sourceFile, 347 * @param sourceFile The path to the file containing the source 365 public void testVerifySingleValue(String sourceFile, String targetFile, argument 374 "-s", sourceFile, 382 "-s", sourceFile, 412 * @param sourceFile The path to the file containing the source 430 public void testReconstructNormal(String sourceFile, Strin argument 537 testReconstructSingleValue(String sourceFile, String targetFile, String normalDiffFile, String singleValueDiffFile, int resultCode) argument 676 testVerifyIgnoreAttributes(String sourceFile, String targetFile, String ignoreAttributesFile, String normalDiffFile) argument 763 testVerifyIgnoreEntries(String sourceFile, String targetFile, String ignoreEntriesFile, String normalDiffFile) argument [all...] |
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 279 * @param sourceFile The path to the file containing the source 297 public void testVerifyNormal(String sourceFile, String targetFile, argument 306 "-s", sourceFile, 313 "-s", sourceFile, 346 * @param sourceFile The path to the file containing the source 364 public void testVerifySingleValue(String sourceFile, String targetFile, argument 373 "-s", sourceFile, 381 "-s", sourceFile, 411 * @param sourceFile The path to the file containing the source 429 public void testReconstructNormal(String sourceFile, Strin argument 536 testReconstructSingleValue(String sourceFile, String targetFile, String normalDiffFile, String singleValueDiffFile, int resultCode) argument 675 testVerifyIgnoreAttributes(String sourceFile, String targetFile, String ignoreAttributesFile, String normalDiffFile) argument 762 testVerifyIgnoreEntries(String sourceFile, String targetFile, String ignoreEntriesFile, String normalDiffFile) argument [all...] |
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 280 * @param sourceFile The path to the file containing the source 298 public void testVerifyNormal(String sourceFile, String targetFile, argument 307 "-s", sourceFile, 314 "-s", sourceFile, 347 * @param sourceFile The path to the file containing the source 365 public void testVerifySingleValue(String sourceFile, String targetFile, argument 374 "-s", sourceFile, 382 "-s", sourceFile, 412 * @param sourceFile The path to the file containing the source 430 public void testReconstructNormal(String sourceFile, Strin argument 537 testReconstructSingleValue(String sourceFile, String targetFile, String normalDiffFile, String singleValueDiffFile, int resultCode) argument 676 testVerifyIgnoreAttributes(String sourceFile, String targetFile, String ignoreAttributesFile, String normalDiffFile) argument 763 testVerifyIgnoreEntries(String sourceFile, String targetFile, String ignoreEntriesFile, String normalDiffFile) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/tools/ |
H A D | LDIFDiffTestCase.java | 279 * @param sourceFile The path to the file containing the source 297 public void testVerifyNormal(String sourceFile, String targetFile, argument 306 "-s", sourceFile, 313 "-s", sourceFile, 346 * @param sourceFile The path to the file containing the source 364 public void testVerifySingleValue(String sourceFile, String targetFile, argument 373 "-s", sourceFile, 381 "-s", sourceFile, 411 * @param sourceFile The path to the file containing the source 429 public void testReconstructNormal(String sourceFile, Strin argument 536 testReconstructSingleValue(String sourceFile, String targetFile, String normalDiffFile, String singleValueDiffFile, int resultCode) argument 675 testVerifyIgnoreAttributes(String sourceFile, String targetFile, String ignoreAttributesFile, String normalDiffFile) argument 762 testVerifyIgnoreEntries(String sourceFile, String targetFile, String ignoreEntriesFile, String normalDiffFile) argument [all...] |
/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/utils/ |
H A D | FileUtil.java | 98 * @param sourceFile the file to be copied 103 public static void copy(File sourceFile, File targetFile) throws IOException, PatchException { argument 111 throw new PatchException("Unable to copy file " + sourceFile + ", targetFile " 116 inChannel = new FileInputStream(sourceFile).getChannel(); 128 logger.log(Level.INFO, "Copy {0} -> {1}: success: {2}", new Object[]{sourceFile, targetFile, success});
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tools/ |
H A D | LDIFModify.java | 427 StringArgument sourceFile; 456 sourceFile = new StringArgument("sourceldif", 's', "sourceLDIF", true, 461 argParser.addArgument(sourceFile); 568 File source = new File(sourceFile.getValue()); 571 printWrappedText(err, ERR_LDIFMODIFY_SOURCE_DOES_NOT_EXIST.get(sourceFile.getValue())); 575 LDIFImportConfig importConfig = new LDIFImportConfig(sourceFile.getValue()); 583 printWrappedText(err, ERR_LDIFMODIFY_CANNOT_OPEN_SOURCE.get(sourceFile.getValue(), ioe)); 603 printWrappedText(err, ERR_LDIFMODIFY_CANNOT_OPEN_CHANGES.get(sourceFile.getValue(), ioe.getMessage())); 618 printWrappedText(err, ERR_LDIFMODIFY_CANNOT_OPEN_TARGET.get(sourceFile.getValue(), ioe.getMessage()));
|
/forgerock/opendj-b2.6/src/server/org/opends/server/tools/ |
H A D | LDIFModify.java | 451 StringArgument sourceFile; 478 sourceFile = new StringArgument("sourceldif", 's', "sourceLDIF", true, 483 argParser.addArgument(sourceFile); 605 File source = new File(sourceFile.getValue()); 609 sourceFile.getValue()); 614 LDIFImportConfig importConfig = new LDIFImportConfig(sourceFile.getValue()); 623 sourceFile.getValue(), 648 sourceFile.getValue(), ioe.getMessage()); 665 sourceFile.getValue(), ioe.getMessage());
|
/forgerock/opendj2/src/server/org/opends/server/tools/ |
H A D | LDIFModify.java | 438 StringArgument sourceFile; 465 sourceFile = new StringArgument("sourceldif", 's', "sourceLDIF", true, 470 argParser.addArgument(sourceFile); 592 File source = new File(sourceFile.getValue()); 596 sourceFile.getValue()); 601 LDIFImportConfig importConfig = new LDIFImportConfig(sourceFile.getValue()); 610 sourceFile.getValue(), 635 sourceFile.getValue(), ioe.getMessage()); 652 sourceFile.getValue(), ioe.getMessage());
|
/forgerock/opendj2.6.2/src/server/org/opends/server/tools/ |
H A D | LDIFModify.java | 451 StringArgument sourceFile; 478 sourceFile = new StringArgument("sourceldif", 's', "sourceLDIF", true, 483 argParser.addArgument(sourceFile); 605 File source = new File(sourceFile.getValue()); 609 sourceFile.getValue()); 614 LDIFImportConfig importConfig = new LDIFImportConfig(sourceFile.getValue()); 623 sourceFile.getValue(), 648 sourceFile.getValue(), ioe.getMessage()); 665 sourceFile.getValue(), ioe.getMessage());
|
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tools/ |
H A D | LDIFModify.java | 451 StringArgument sourceFile; 478 sourceFile = new StringArgument("sourceldif", 's', "sourceLDIF", true, 483 argParser.addArgument(sourceFile); 605 File source = new File(sourceFile.getValue()); 609 sourceFile.getValue()); 614 LDIFImportConfig importConfig = new LDIFImportConfig(sourceFile.getValue()); 623 sourceFile.getValue(), 648 sourceFile.getValue(), ioe.getMessage()); 665 sourceFile.getValue(), ioe.getMessage());
|
/forgerock/opendj2-hg/src/server/org/opends/server/tools/ |
H A D | LDIFModify.java | 438 StringArgument sourceFile; 465 sourceFile = new StringArgument("sourceldif", 's', "sourceLDIF", true, 470 argParser.addArgument(sourceFile); 592 File source = new File(sourceFile.getValue()); 596 sourceFile.getValue()); 601 LDIFImportConfig importConfig = new LDIFImportConfig(sourceFile.getValue()); 610 sourceFile.getValue(), 635 sourceFile.getValue(), ioe.getMessage()); 652 sourceFile.getValue(), ioe.getMessage());
|
/forgerock/opendj2/src/quicksetup/org/opends/quicksetup/util/ |
H A D | FileManager.java | 110 File sourceFile = new File(source, sourceFileName); 111 copyRecursively(sourceFile, target, null, false);
|
/forgerock/opendj-b2.6/src/quicksetup/org/opends/quicksetup/util/ |
H A D | FileManager.java | 111 File sourceFile = new File(source, sourceFileName); 112 copyRecursively(sourceFile, target, null, false);
|
/forgerock/opendj2.6.2/src/quicksetup/org/opends/quicksetup/util/ |
H A D | FileManager.java | 111 File sourceFile = new File(source, sourceFileName); 112 copyRecursively(sourceFile, target, null, false);
|
/forgerock/opendj2-hg/src/quicksetup/org/opends/quicksetup/util/ |
H A D | FileManager.java | 110 File sourceFile = new File(source, sourceFileName); 111 copyRecursively(sourceFile, target, null, false);
|
/forgerock/opendj2-jel-hg/src/quicksetup/org/opends/quicksetup/util/ |
H A D | FileManager.java | 111 File sourceFile = new File(source, sourceFileName); 112 copyRecursively(sourceFile, target, null, false);
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/quicksetup/util/ |
H A D | FileManager.java | 108 File sourceFile = new File(source, sourceFileName); 109 copyRecursively(sourceFile, target, null, false);
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/extensions/ |
H A D | ConfigFileHandler.java | 682 * @param sourceFile The LDIF file containing the source data. 690 private void applyChangesFile(File sourceFile, File changesFile) argument 695 new LDIFImportConfig(sourceFile.getAbsolutePath()); 731 File oldSource = new File(sourceFile.getAbsolutePath() + ".prechanges"); 736 sourceFile.renameTo(oldSource); 737 new File(tempFile).renameTo(sourceFile);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/ |
H A D | ConfigFileHandler.java | 992 * @param sourceFile The LDIF file containing the source data. 1000 private void applyChangesFile(File sourceFile, File changesFile) argument 1005 new LDIFImportConfig(sourceFile.getAbsolutePath()); 1055 File oldSource = new File(sourceFile.getAbsolutePath() + ".prechanges"); 1060 sourceFile.renameTo(oldSource); 1061 new File(tempFile).renameTo(sourceFile);
|