|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.module.JarArchiveIo
public class JarArchiveIo
Utility IO class for constructing Jar Archives. Use this class in preference to the concrete implementations of JarArchive.
Constructor Summary | |
---|---|
protected |
JarArchiveIo()
Constructor. |
Method Summary | |
---|---|
static JarArchive |
open(File f)
Open a jar archive. |
static JarArchive |
open(InputStream is)
Open a jar archive. |
static JarArchive |
open(String file)
Open a jar archive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected JarArchiveIo()
Method Detail |
---|
public static JarArchive open(String file) throws IOException
file
- Input File
IOException
- if an IO error occurspublic static JarArchive open(InputStream is) throws IOException
is
- Input Stream
IOException
- if an IO error occurspublic static JarArchive open(File f) throws IOException
f
- Input File
IOException
- if an IO error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |