|
||||||||||
| 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.apache.maven.plugin.assembly.archiver.DirectoryArchiver
public class DirectoryArchiver
A plexus archiver implementation that stores the files to archive in a directory.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.plexus.archiver.AbstractArchiver |
|---|
DEFAULT_DIR_MODE, DEFAULT_FILE_MODE |
| Fields inherited from interface org.codehaus.plexus.archiver.Archiver |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DirectoryArchiver()
|
|
| Method Summary | |
|---|---|
protected void |
copyFile(org.codehaus.plexus.archiver.ArchiveEntry entry,
java.lang.String vPath)
Copies the specified file to the specified path, creating any ancestor directory structure as necessary. |
void |
createArchive()
|
| Methods inherited from class org.codehaus.plexus.archiver.AbstractArchiver |
|---|
addDirectory, addDirectory, addDirectory, addDirectory, addFile, addFile, getDefaultDirectoryMode, getDefaultFileMode, getDestFile, getDirs, getFiles, getIncludeEmptyDirs, getLogger, setDefaultDirectoryMode, setDefaultFileMode, setDestFile, setIncludeEmptyDirs |
| 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 DirectoryArchiver()
| Method Detail |
|---|
public void createArchive()
throws org.codehaus.plexus.archiver.ArchiverException,
java.io.IOException
org.codehaus.plexus.archiver.ArchiverException
java.io.IOException
protected void copyFile(org.codehaus.plexus.archiver.ArchiveEntry entry,
java.lang.String vPath)
throws org.codehaus.plexus.archiver.ArchiverException,
java.io.IOException
file - The file to copy (IOException will be thrown if this does not exist)vPath - The fully qualified path to copy the file to.
org.codehaus.plexus.archiver.ArchiverException - If there is a problem creating the directory structure
java.io.IOException - If there is a problem copying the file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||