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