Methods Summary |
---|
public static void | deleteDirectory(java.io.File dir)delete all content of a given directory
File[] files = dir.listFiles();
if (files != null) {
for(int i=0; i < files.length; ++i) {
File child = files[i];
if(child.isDirectory()) {
deleteDirectory(child);
}
child.delete();
}
}
dir.delete();
|
public Application | getApplication()
return application;
|
public com.sun.enterprise.deployment.deploy.shared.AbstractArchive | getArchive()
return archive;
|
public java.lang.ClassLoader | getClassLoader()
return application.getClassLoader();
|
public java.io.File | getOutputDirectory()
return new File(archive.getArchiveUri());
|
public java.io.File | getSourceDirectory()
return new File(archive.getArchiveUri());
|