org.codehaus.plexus.archiver
public abstract class AbstractArchiver extends AbstractLogEnabled implements Archiver, Contextualizable
Version: $Id: AbstractArchiver.java 3651 2006-08-21 21:05:02Z jvanzyl $
| Field Summary | |
|---|---|
| ArchiverManager | archiverManager |
| int | defaultDirectoryMode |
| int | defaultFileMode |
| File | destFile |
| Map | dirsMap |
| static int | DEFAULT_DIR_MODE
Default value for the dirmode attribute. |
| static int | DEFAULT_FILE_MODE
Default value for the filemode attribute. |
| Map | filesMap |
| boolean | forced |
| boolean | includeEmptyDirs |
| Logger | logger |
| Method Summary | |
|---|---|
| void | addArchivedFileSet(File archiveFile, String prefix, String[] includes, String[] excludes) |
| void | addArchivedFileSet(File archiveFile, String prefix) |
| void | addArchivedFileSet(File archiveFile, String[] includes, String[] excludes) |
| void | addArchivedFileSet(File archiveFile) |
| void | addDirectory(File directory) |
| void | addDirectory(File directory, String prefix) |
| void | addDirectory(File directory, String[] includes, String[] excludes) |
| void | addDirectory(File directory, String prefix, String[] includes, String[] excludes) |
| void | addFile(File inputFile, String destFileName) |
| void | addFile(File inputFile, String destFileName, int permissions) |
| protected boolean | checkForced() |
| void | contextualize(Context context)
Allows us to pull the ArchiverManager instance out of the container without
causing a chicken-and-egg instantiation/composition problem. |
| int | getDefaultDirectoryMode() |
| int | getDefaultFileMode() |
| File | getDestFile() |
| Map | getDirs() |
| Map | getFiles() |
| boolean | getIncludeEmptyDirs() |
| protected Logger | getLogger() |
| boolean | isForced() |
| boolean | isSupportingForced() |
| protected boolean | isUptodate() |
| void | setDefaultDirectoryMode(int mode) |
| void | setDefaultFileMode(int mode) |
| void | setDestFile(File destFile) |
| void | setForced(boolean forced) |
| void | setIncludeEmptyDirs(boolean includeEmptyDirs) |
Since: 1.0-alpha-7
Since: 1.0-alpha-7
Since: 1.0-alpha-7
Since: 1.0-alpha-7