|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
ROLE
|
Method Summary | |
void |
extract()
Extract the archive. |
void |
extract(java.lang.String path,
java.io.File outputDirectory)
Take a patch into the archive and extract it to the specified directory. |
java.io.File |
getDestDirectory()
|
java.io.File |
getDestFile()
|
org.codehaus.plexus.components.io.fileselectors.FileSelector[] |
getFileSelectors()
Returns a set of FileSelector instances, which may be used to
select the files to extract from the archive. |
java.io.File |
getSourceFile()
|
void |
setDestDirectory(java.io.File destDirectory)
|
void |
setDestFile(java.io.File destFile)
|
void |
setFileSelectors(org.codehaus.plexus.components.io.fileselectors.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(java.io.File sourceFile)
|
Field Detail |
public static final java.lang.String ROLE
Method Detail |
public void extract() throws ArchiverException
ArchiverException
public void extract(java.lang.String path, java.io.File outputDirectory) throws ArchiverException
path
- Path inside the archive to be extracted.outputDirectory
- Directory to extract to.
ArchiverException
public java.io.File getDestDirectory()
public void setDestDirectory(java.io.File destDirectory)
public java.io.File getDestFile()
public void setDestFile(java.io.File destFile)
public java.io.File getSourceFile()
public void setSourceFile(java.io.File sourceFile)
public void setOverwrite(boolean b)
public void setFileSelectors(org.codehaus.plexus.components.io.fileselectors.FileSelector[] selectors)
FileSelector
instances, which may be used to
select the files to extract from the archive. If file selectors
are present, then a file is only extracted, if it is confirmed
by all file selectors.
public org.codehaus.plexus.components.io.fileselectors.FileSelector[] getFileSelectors()
FileSelector
instances, which may be used to
select the files to extract from the archive. If file selectors
are present, then a file is only extracted, if it is confirmed
by all file selectors.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |