org.codehaus.plexus.archiver.tar
public class TarArchiver extends AbstractArchiver
Version: $Revision: 8217 $ $Date: 2009-05-27 03:56:55 +0300 (Wed, 27 May 2009) $
Nested Class Summary | |
---|---|
static class | TarArchiver.TarCompressionMethod
Valid Modes for Compression attribute to Tar Task |
class | TarArchiver.TarOptions
Valid Modes for Compression attribute to Tar Task |
Method Summary | |
---|---|
protected void | cleanUp() |
protected void | close() |
protected void | execute() |
protected String | getArchiveType() |
TarArchiver.TarOptions | getOptions() |
boolean | isSupportingForced() |
void | setCompression(TarArchiver.TarCompressionMethod mode)
Set compression method.
|
void | setLongfile(TarLongFileMode mode)
Set how to handle long files, those with a path>100 chars.
|
void | setOptions(TarArchiver.TarOptions options)
Set all tar options
|
protected void | tarFile(ArchiveEntry entry, TarOutputStream tOut, String vPath)
tar a file
|
Parameters: mode the compression method.
Parameters: mode the mode to handle long file names.
Parameters: options options
Parameters: entry the file to tar tOut the output stream vPath the path name of the file to tar
Throws: IOException on error