|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.util.AbstractFileSystemHelper
org.apache.jetspeed.util.JarHelper
public class JarHelper
DirectoryHelper
.Field Summary | |
---|---|
protected DirectoryHelper |
dirHelper
|
protected java.io.File |
file
|
protected java.util.jar.JarFile |
jarFile
|
protected java.io.File |
jarRoot
|
Constructor Summary | |
---|---|
JarHelper(java.io.File file,
boolean deleteOnClose)
|
Method Summary | |
---|---|
void |
close()
close |
protected void |
copyEntryToFile(java.util.jar.JarFile jarFile,
java.io.File jarRoot,
java.util.jar.JarEntry jarEntry)
copyEntryToFile |
void |
copyFrom(java.io.File directory)
copyFrom |
void |
copyFrom(java.io.File directory,
java.io.FileFilter fileFilter)
copyFrom |
java.io.File |
getRootDirectory()
getRootDirectory |
java.lang.String |
getSourcePath()
getSourcePath |
boolean |
remove()
remove |
Methods inherited from class org.apache.jetspeed.util.AbstractFileSystemHelper |
---|
getChecksum |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.util.FileSystemHelper |
---|
getChecksum |
Field Detail |
---|
protected java.util.jar.JarFile jarFile
protected DirectoryHelper dirHelper
protected java.io.File file
protected java.io.File jarRoot
Constructor Detail |
---|
public JarHelper(java.io.File file, boolean deleteOnClose) throws java.io.IOException
jarFile
-
java.io.IOException
Method Detail |
---|
protected void copyEntryToFile(java.util.jar.JarFile jarFile, java.io.File jarRoot, java.util.jar.JarEntry jarEntry) throws java.io.IOException, java.io.FileNotFoundException
copyEntryToFile
jarFile
- jarRoot
- jarEntry
-
java.io.IOException
java.io.FileNotFoundException
public void copyFrom(java.io.File directory, java.io.FileFilter fileFilter) throws java.io.IOException
copyFrom
copyFrom
in interface FileSystemHelper
directory
- fileFilter
-
java.io.IOException
public void copyFrom(java.io.File directory) throws java.io.IOException
copyFrom
copyFrom
in interface FileSystemHelper
directory
-
java.io.IOException
FileSystemHelper.copyFrom(java.io.File)
public java.io.File getRootDirectory()
getRootDirectory
getRootDirectory
in interface FileSystemHelper
getRootDirectory
in class AbstractFileSystemHelper
FileSystemHelper.getRootDirectory()
public boolean remove()
remove
remove
in interface FileSystemHelper
FileSystemHelper.remove()
public void close() throws java.io.IOException
close
close
in interface FileSystemHelper
java.io.IOException
FileSystemHelper.close()
public java.lang.String getSourcePath()
getSourcePath
getSourcePath
in interface FileSystemHelper
FileSystemHelper.getSourcePath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |