/forgerock/opendj-v3/opendj-server-legacy/src/test/java/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; 54 import static org.opends.server.replication.server.changelog.file.ReplicationEnvironment.*; 320 // consistency with domain state file 361 // this should also persist the time in a file, but this is checked later in the test 370 // now check last rotation time is correctly read from persisted file when re-creating environment
|
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/util/ |
H A D | BackupManagerTestCase.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 import java.nio.file.Files; 37 import java.nio.file.Path; 196 // check archive and info file 287 Path file = files.next(); 288 assertThat(file.toFile()).exists(); 289 assertThat(file 365 createFile(Path file, byte[] content) argument [all...] |
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/upgrade/ |
H A D | UpdateLogEntry.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 131 public UpdateLogEntry addFile(JsonValue file) { argument 132 files.add(file);
|
/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/ |
H A D | Archive.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 91 * Insert a file within the patch archive bundle. 93 * @param file The {@link File} to be inserted. 95 public void insert(File file) { argument 96 if (!file.exists() || !file.canRead()) { 97 logger.log(Level.FINE, "File does not exist or could not be read during backup: {0}", file); 157 addFile(File targetEntry, File file) argument [all...] |
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/ |
H A D | DebugFileImpl.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 32 package com.sun.identity.shared.debug.file.impl; 36 import com.sun.identity.shared.debug.file.DebugConfiguration; 37 import com.sun.identity.shared.debug.file.DebugFile; 57 * Manage a log file : 88 * @param debugName log file name 98 * @param debugName log file nam [all...] |
/forgerock/openam/openam-shared/src/test/java/com/sun/identity/shared/debug/ |
H A D | DebugTestTemplate.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 19 import com.sun.identity.shared.debug.file.impl.DebugConfigurationFromProperties; 20 import com.sun.identity.shared.debug.file.impl.InvalidDebugConfigurationException; 85 * Check the file status 87 * @param isCreated true if you want to check that the file exist, false for the contrary 88 * @param logName log file name 114 for (File file 144 delete(File file) argument [all...] |
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/task/ |
H A D | ConfigureSocialAuthNViewBean.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 169 private InputStream openPropertySheetXml(final String file) { argument 170 return getClass().getClassLoader().getResourceAsStream(file);
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/setup/ |
H A D | AMSetupUtils.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 65 * <p>The file is located using the provided {@code ServletContext}.</p> 67 * @param servletContext The {@code ServletContext} to use to find the file. 68 * @param file The {@code File} to read. 69 * @return The contents of the file. 70 * @throws IOException If the file could not be found or read. 72 public static String readFile(ServletContext servletContext, String file) throw argument 271 getResourceAsStream(ServletContext servletContext, String file) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/tools/bundles/ |
H A D | SetupUtils.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 56 * Loads properties from file. 58 * @param fileName The path to the properties file. 59 * @return The Properties object of the specified propertoes file. 207 * Get the from files list and the to file list. 265 * Transform the file name by using string patterns. 267 * @param from The pattern of the source file 273 transformFileName(String from, String to, File file) argument 287 transformFileName(String from, String to, File file, char wildCard) argument [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/setup/ |
H A D | BootstrapConfig.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 19 import java.nio.file.Files; 20 import java.nio.file.Paths; 63 public static BootstrapConfig fromJsonFile(String file) throws IOException { argument 64 String json = new String(Files.readAllBytes(Paths.get(file))); 139 public void writeConfig(String file) throws IOException { argument 140 Files.write(Paths.get(file), toJso [all...] |
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/ |
H A D | WSDLParser.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 89 public void parse(File file) throws EntitlementException { argument 91 Document root = parseXML(file); 130 private Document parseXML(File file) throws EntitlementException { argument 133 return builder.parse(file);
|
/forgerock/opendj2/src/server/org/opends/server/replication/server/changelog/file/ |
H A D | ReplicationEnvironment.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; 72 * <li>A "domains.state" file containing a mapping of each domain DN to an id. The 75 * assigned to the domain, as specified in the "domains.state" file.</li> 80 * <li>A "generation_[id].id" file, where [id] is the generation id</li> 86 * <li>The "head.log" file, which is the more recent log file wher 851 newFileWriter(final File file) argument 857 newFileReader(final File file) argument [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/replication/server/changelog/file/ |
H A D | ReplicationEnvironment.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; 72 * <li>A "domains.state" file containing a mapping of each domain DN to an id. The 75 * assigned to the domain, as specified in the "domains.state" file.</li> 80 * <li>A "generation_[id].id" file, where [id] is the generation id</li> 86 * <li>The "head.log" file, which is the more recent log file wher 851 newFileWriter(final File file) argument 857 newFileReader(final File file) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/server/changelog/file/ |
H A D | ReplicationEnvironment.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; 40 import java.nio.file.AtomicMoveNotSupportedException; 41 import java.nio.file.FileAlreadyExistsException; 42 import java.nio.file.Files; 43 import java.nio.file.StandardCopyOption; 63 import org.opends.server.replication.server.changelog.file 1021 newTempFileWriter(final File file) argument 1039 commitFile(final File file) argument 1060 getTempFileFor(File file) argument 1065 newFileReader(final File file) argument [all...] |
/forgerock/opendj2/src/quicksetup/org/opends/quicksetup/util/ |
H A D | FileManager.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. 42 * file system files. This class handles application notifications for 48 * Describes the approach taken to deleting a file or directory. 53 * Delete the file or directory immediately. 58 * Mark the file or directory for deletion after the JVM has exited. 63 * First try to delete the file immediately. If the deletion was 64 * unsuccessful mark the file fo 231 deleteRecursively(File file) argument 246 deleteRecursively(File file, FileFilter filter, DeletionPolicy deletePolicy) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/backends/jeb/ |
H A D | BackupManager.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. 84 * The name of the property that holds the name of the latest log file 90 * The name of the property that holds the size of the latest log file 97 * The name of the entry in an incremental backup archive file 104 * The name of a dummy entry in the backup archive file that will act 128 * file in the backup directory. If the backup is incremental, then the 129 * first entry in the zip is a text file containin 1086 archiveFile(ZipOutputStream zipStream, Mac mac, MessageDigest digest, File file, BackupConfig backupConfig) argument [all...] |
/forgerock/opendj-b2.6/src/guitools/org/opends/guitools/controlpanel/ui/ |
H A D | BinaryAttributeEditorPanel.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 70 private JTextField file; field in class:BinaryAttributeEditorPanel 108 // Read the file or encode the base 64 content. 157 file.setText(""); 161 file.setText(value.getFile().getAbsolutePath()); 168 file.setText(""); 230 return file; [all...] |
H A D | ExportLDIFPanel.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 69 * file. 76 private JTextField file; field in class:ExportLDIFPanel 119 return file; 175 file = Utilities.createTextField(); 183 String text = file.getText().trim(); 202 file [all...] |
H A D | NewAttributePanel.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 130 private JTextField file = Utilities.createLongTextField(); field in class:NewAttributePanel 633 Component[][] comps = {{parent, aliases, origin, file}, 709 file.setText(ConfigConstants.FILE_USER_SCHEMA_ELEMENTS); 851 String f = file.getText().trim();
|
H A D | NewObjectClassPanel.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 129 private JTextField file = Utilities.createLongTextField(); field in class:NewObjectClassPanel 625 Component[] comps = {aliases, origin, file, type, obsolete}; 665 file.setText(ConfigConstants.FILE_USER_SCHEMA_ELEMENTS); 691 String f = file.getText().trim();
|
/forgerock/opendj-b2.6/src/quicksetup/org/opends/quicksetup/util/ |
H A D | FileManager.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 43 * file system files. This class handles application notifications for 49 * Describes the approach taken to deleting a file or directory. 54 * Delete the file or directory immediately. 59 * Mark the file or directory for deletion after the JVM has exited. 64 * First try to delete the file immediately. If the deletion was 65 * unsuccessful mark the file fo 232 deleteRecursively(File file) argument 247 deleteRecursively(File file, FileFilter filter, DeletionPolicy deletePolicy) argument [all...] |
/forgerock/opendj2/src/build-tools/windows/ |
H A D | common.c | 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. 122 debug("createBatchFileChildProcess: the batch file path is too long."); 268 // The file containing the log. 306 fprintf(stdout, "Could not create log file.\n"); 311 // Get the fully-qualified debug log file name. The logic in this 324 FILE *file; local 353 // we create the log file i [all...] |
/forgerock/opendj2/src/guitools/org/opends/guitools/controlpanel/ui/ |
H A D | BinaryAttributeEditorPanel.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. 69 private JTextField file; field in class:BinaryAttributeEditorPanel 107 // Read the file or encode the base 64 content. 156 file.setText(""); 160 file.setText(value.getFile().getAbsolutePath()); 167 file.setText(""); 229 return file; [all...] |
H A D | ExportLDIFPanel.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. 68 * file. 75 private JTextField file; field in class:ExportLDIFPanel 118 return file; 174 file = Utilities.createTextField(); 182 String text = file.getText().trim(); 201 file [all...] |
H A D | NewAttributePanel.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. 129 private JTextField file = Utilities.createLongTextField(); field in class:NewAttributePanel 632 Component[][] comps = {{parent, aliases, origin, file}, 708 file.setText(ConfigConstants.FILE_USER_SCHEMA_ELEMENTS); 850 String f = file.getText().trim();
|