|
||||||||||
| 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 FileSystemHelperdirectory - fileFilter -
java.io.IOException
public void copyFrom(java.io.File directory)
throws java.io.IOException
copyFrom
copyFrom in interface FileSystemHelperdirectory -
java.io.IOExceptionFileSystemHelper.copyFrom(java.io.File)public java.io.File getRootDirectory()
getRootDirectory
getRootDirectory in interface FileSystemHelpergetRootDirectory in class AbstractFileSystemHelperFileSystemHelper.getRootDirectory()public boolean remove()
remove
remove in interface FileSystemHelperFileSystemHelper.remove()
public void close()
throws java.io.IOException
close
close in interface FileSystemHelperjava.io.IOExceptionFileSystemHelper.close()public java.lang.String getSourcePath()
getSourcePath
getSourcePath in interface FileSystemHelperFileSystemHelper.getSourcePath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||