|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.archiver.AbstractArchiver
org.codehaus.plexus.archiver.zip.AbstractZipArchiver
org.codehaus.plexus.archiver.zip.ZipArchiver
org.codehaus.plexus.archiver.jar.JarArchiver
org.codehaus.plexus.archiver.ear.EarArchiver
public class EarArchiver
Creates a EAR archive. Based on WAR task
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.codehaus.plexus.archiver.jar.JarArchiver |
---|
JarArchiver.FilesetManifestConfig |
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.archiver.zip.AbstractZipArchiver |
---|
addedDirs, addingNewFiles, archiveType, doubleFilePass, duplicate, entries, skipWriting |
Fields inherited from interface org.codehaus.plexus.archiver.Archiver |
---|
DEFAULT_DIR_MODE, DEFAULT_FILE_MODE, DUPLICATES_ADD, DUPLICATES_FAIL, DUPLICATES_PRESERVE, DUPLICATES_SKIP, DUPLICATES_VALID_BEHAVIORS, ROLE |
Constructor Summary | |
---|---|
EarArchiver()
Create an Ear. |
Method Summary | |
---|---|
void |
addArchive(File fileName)
Adds archive. |
void |
addArchives(File directoryName,
String[] includes,
String[] excludes)
Adds archives. |
protected void |
cleanUp()
Make sure we don't think we already have a application.xml next time this task gets executed. |
protected void |
initZipOutputStream(ZipOutputStream zOut)
method for subclasses to override |
void |
setAppxml(File descr)
File to incorporate as application.xml. |
protected void |
zipFile(ArchiveEntry entry,
ZipOutputStream zOut,
String vPath,
int mode)
Overridden from ZipArchiver class to deal with application.xml |
Methods inherited from class org.codehaus.plexus.archiver.jar.JarArchiver |
---|
addConfiguredIndexJars, addConfiguredManifest, createEmptyZip, finalizeZipOutputStream, findJarName, grabFilesAndDirs, hasVirtualFiles, reset, setFilesetmanifest, setIndex, setManifest, setManifestEncoding, writeIndexLikeList, zipFile |
Methods inherited from class org.codehaus.plexus.archiver.zip.AbstractZipArchiver |
---|
addParentDirs, addResources, close, execute, getArchiveType, getComment, getEncoding, getZipEntryNames, isCompress, isFileAdded, isFilesonly, isFileUpdated, isInUpdateMode, isRoundUp, isSupportingForced, revert, setComment, setCompress, setEncoding, setFilesonly, setRoundUp, setUpdateMode, zipDir, zipFile |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
---|
enableLogging, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EarArchiver()
Method Detail |
---|
public void setAppxml(File descr) throws ArchiverException
ArchiverException
public void addArchive(File fileName) throws ArchiverException
ArchiverException
public void addArchives(File directoryName, String[] includes, String[] excludes) throws ArchiverException
ArchiverException
protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, ArchiverException
AbstractZipArchiver
initZipOutputStream
in class JarArchiver
IOException
ArchiverException
protected void zipFile(ArchiveEntry entry, ZipOutputStream zOut, String vPath, int mode) throws IOException, ArchiverException
IOException
ArchiverException
protected void cleanUp()
cleanUp
in class JarArchiver
AbstractZipArchiver.cleanUp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |