Searched refs:FileUtils (Results 1 - 25 of 129) sorted by relevance

123456

/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/common/
H A DEmbeddedSecurityLifeCycle.java47 import com.sun.enterprise.util.io.FileUtils;
97 FileUtils.getManagedFile("config" + File.separator + embeddedSecurity.parseFileName(keyFileName), instanceRoot);
101 FileUtils.getManagedFile("config" + File.separator + "login.conf", instanceRoot);
102 FileUtils.getManagedFile("config" + File.separator + "server.policy", instanceRoot);
103 FileUtils.getManagedFile("config" + File.separator + "cacerts.jks", instanceRoot);
104 FileUtils.getManagedFile("config" + File.separator + "keystore.jks", instanceRoot);
/glassfish-3.1.2/admin/backup/src/main/java/com/sun/enterprise/backup/
H A DRestoreManager.java44 import com.sun.enterprise.util.io.FileUtils;
123 if(!FileUtils.safeIsDirectory(request.domainDir))
131 if(!FileUtils.safeIsDirectory(backupDir))
144 if(!FileUtils.safeIsDirectory(request.domainDir))
151 if(!FileUtils.safeIsDirectory(backupDir))
207 if(!FileUtils.safeIsDirectory(domainBackupDir))
212 FileUtils.copyTree(domainBackupDir, tempRestoreDirBackups);
242 FileUtils.whack(tempRestoreDir);
247 FileUtils.whack(tempRestoreDir);
258 FileUtils
[all...]
H A DBackupManager.java44 import com.sun.enterprise.util.io.FileUtils;
126 if(!FileUtils.safeIsDirectory(request.domainDir))
136 if(!FileUtils.safeIsDirectory(backupDir))
H A DBackupRequest.java52 import com.sun.enterprise.util.io.FileUtils;
116 domainsDir = FileUtils.safeGetCanonicalFile(new File(name));
132 backupFile = FileUtils.safeGetCanonicalFile(new File(name));
H A DBackupRestoreManager.java43 import com.sun.enterprise.util.io.FileUtils;
79 !FileUtils.safeIsDirectory(request.domainsDir))
H A DZipStorage.java86 String zipName = FileUtils.safeGetCanonicalPath(request.backupFile);
87 String domainDirName = FileUtils.safeGetCanonicalPath(backupFileDir);
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/wsclients/
H A DWSClientTest.java47 import com.sun.enterprise.util.io.FileUtils;
101 FileUtils.makeFriendlyFilename(moduleDescriptor.getArchiveUri());
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DFileUtils.java52 public final class FileUtils class
54 private FileUtils() method in class:FileUtils
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/
H A DPESamplesDomainXmlEventListener.java58 import com.sun.enterprise.util.io.FileUtils;
75 ZipFile file = new ZipFile(FileUtils.safeGetCanonicalPath(jarFile),
76 FileUtils.safeGetCanonicalPath(domainDir));
H A DPEAccXmlTokens.java45 import com.sun.enterprise.util.io.FileUtils;
67 FileUtils.makeForwardSlashes(installDir));
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/appclient/
H A DAppClientTest.java50 import com.sun.enterprise.util.io.FileUtils;
97 FileUtils.makeFriendlyFilename(moduleDescriptor.getArchiveUri());
/glassfish-3.1.2/installer/src/main/java/org/openinstaller/provider/conf/
H A DInstallationConfigurator.java143 org.glassfish.installer.util.FileUtils.deleteDirectory(new File(productRef.getInstallLocation() + File.separator + "updatetool"));
144 org.glassfish.installer.util.FileUtils.deleteDirectory(new File(productRef.getInstallLocation() + File.separator + "pkg"));
177 org.glassfish.installer.util.FileUtils.setAllFilesExecutable(installDir + "/glassfish/bin");
178 org.glassfish.installer.util.FileUtils.setAllFilesExecutable(installDir + "/bin");
179 if (org.glassfish.installer.util.FileUtils.isFileExist(installDir + "/mq/bin")) {
180 org.glassfish.installer.util.FileUtils.setAllFilesExecutable(installDir + "/mq/bin");
204 org.glassfish.installer.util.FileUtils.setExecutable(productRef.getInstallLocation() + "/bin/pkg");
205 org.glassfish.installer.util.FileUtils.setExecutable(productRef.getInstallLocation() + "/bin/updatetool");
306 // FileUtils does check for the file before deleting.
315 org.glassfish.installer.util.FileUtils
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DUpgradeStartup.java51 import com.sun.enterprise.util.io.FileUtils;
238 FileUtils.whack(oldJ2eeAppsRepository);
241 FileUtils.whack(oldJ2eeModulesRepository);
246 FileUtils.whack(oldJ2eeAppsGeneratedXMLDir);
249 FileUtils.whack(oldJ2eeModulesGeneratedXMLDir);
254 FileUtils.whack(oldJ2eeAppsEJBStubDir);
257 FileUtils.whack(oldJ2eeModulesEJBStubDir);
262 FileUtils.whack(oldJ2eeAppsJSPCompileDir);
265 FileUtils.whack(oldJ2eeModulesJSPCompileDir);
270 FileUtils
[all...]
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/
H A DSSHUtil.java52 import com.sun.enterprise.util.io.FileUtils;
121 String f = FileUtils.readSmallFile(keyFile);
148 key = FileUtils.readSmallFile(file);
/glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/
H A DAutoUndeploymentOperation.java43 import com.sun.enterprise.util.io.FileUtils;
227 FileUtils.liquidate(f);
232 FileUtils.deleteFile(f);
242 FileUtils.deleteFile(requestFile);
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DWebModuleConfig.java45 import com.sun.enterprise.util.io.FileUtils;
344 dir.append(FileUtils.makeFriendlyFilename(
347 dir.append(FileUtils.makeFriendlyFilename(
350 dir.append(FileUtils.makeLegalNoBlankFileName(
/glassfish-3.1.2/build/maven-glassfishbuild-plugin/src/main/java/com/sun/enterprise/build/
H A DCheckoutMojo.java43 import org.apache.commons.io.FileUtils;
89 String module = FileUtils.readFileToString(new File("./CVS/Repository")).trim();
90 String cvsroot = FileUtils.readFileToString(new File("./CVS/Root")).trim();
99 currentTag = FileUtils.readFileToString(tagFile).trim();
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/app/
H A DModulesExistAppClient.java46 import com.sun.enterprise.util.io.FileUtils;
96 String moduleDir = FileUtils.makeFriendlyFilename(moduleName);
H A DModulesExistEjb.java46 import com.sun.enterprise.util.io.FileUtils;
96 String moduleDir = FileUtils.makeFriendlyFilename(moduleName);
H A DModulesExistWeb.java46 import com.sun.enterprise.util.io.FileUtils;
94 String moduleDir = FileUtils.makeFriendlyFilename(moduleName);
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/
H A DFileValidator.java45 import com.sun.enterprise.util.io.FileUtils;
131 final File f = FileUtils.safeGetCanonicalFile(file);
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/remote/
H A DRemoteResponseManager.java48 import com.sun.enterprise.util.io.FileUtils;
79 FileUtils.copy(in, baos, 0);
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/web/
H A DWebVerifier.java56 import com.sun.enterprise.util.io.FileUtils;
101 FileUtils.whack(jspOutDir);
131 return FileUtils.makeFriendlyFilename(webd.getModuleDescriptor().getArchiveUri());
174 FileUtils.makeFriendlyFilename(module_uri));
223 return new File(jspOutDir, FileUtils.makeFriendlyFilename(moduleDescriptor.getArchiveUri()));
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/
H A DDeploymentCommandUtils.java44 import com.sun.enterprise.util.io.FileUtils;
140 FileUtils.renameFile(fileParam, result);
157 FileUtils.copy(fileParam, result);
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/common/
H A DModuleExploder.java57 import com.sun.enterprise.util.io.FileUtils;
96 FileOutputStream fos = FileUtils.openFileOutputStream(out);
97 FileUtils.copy(is, fos, entry.getSize());

Completed in 66 milliseconds

123456