org.codehaus.plexus.archiver
public interface UnArchiver
Version: $Revision: 6257 $ $Date: 2007-04-01 23:58:14 +0300 (Sun, 01 Apr 2007) $
Field Summary | |
---|---|
String | ROLE |
Method Summary | |
---|---|
void | extract()
Extract the archive.
|
void | extract(String path, File outputDirectory)
Take a patch into the archive and extract it to the specified directory.
|
File | getDestDirectory() |
File | getDestFile() |
FileSelector[] | getFileSelectors()
Returns a set of FileSelector instances, which may be used to
select the files to extract from the archive. |
File | getSourceFile() |
void | setDestDirectory(File destDirectory) |
void | setDestFile(File destFile) |
void | setFileSelectors(FileSelector[] selectors)
Sets a set of FileSelector instances, which may be used to
select the files to extract from the archive. |
void | setOverwrite(boolean b)
Should we overwrite files in dest, even if they are newer than
the corresponding entries in the archive? |
void | setSourceFile(File sourceFile) |
Throws: ArchiverException
Parameters: path Path inside the archive to be extracted. outputDirectory Directory to extract to.
Throws: ArchiverException