|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.infrared.antTask.JarHelper
Provides utility services for jarring and unjarring files and directories. Note that a given instance of JarHelper is not threadsafe with respect to multiple jar operations.
| Constructor Summary | |
JarHelper()
Instantiates a new JarHelper. |
|
| Method Summary | |
void |
jarDir(File dirOrFile2Jar,
File destJar)
Jars a given directory or single file into a JarOutputStream. |
void |
setVerbose(boolean b)
|
void |
unjar(InputStream in,
File destDir)
Given an InputStream on a jar file, unjars the contents into the given directory. |
void |
unjarDir(File jarFile,
File destDir)
Unjars a given jar file into a given directory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JarHelper()
| Method Detail |
public void jarDir(File dirOrFile2Jar,
File destJar)
throws IOException
IOException
public void unjarDir(File jarFile,
File destDir)
throws IOException
IOException
public void unjar(InputStream in,
File destDir)
throws IOException
IOExceptionpublic void setVerbose(boolean b)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||