public static class Compressor.Tar extends Compressor
Modifier and Type | Class and Description |
---|---|
static class |
Compressor.Tar.Compression |
Compressor.Jar, Compressor.Tar, Compressor.Zip
Constructor and Description |
---|
Tar(java.io.File file,
Compressor.Tar.Compression compression) |
Tar(java.io.OutputStream stream,
Compressor.Tar.Compression compression) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
writeDirectoryEntry(java.lang.String name,
long timestamp) |
protected void |
writeFileEntry(java.lang.String name,
java.io.InputStream source,
long length,
long timestamp) |
addDirectory, addDirectory, addDirectory, addDirectory, addFile, addFile, addFile, addFile, addFile, filter
public Tar(java.io.File file, Compressor.Tar.Compression compression) throws java.io.IOException
java.io.IOException
public Tar(java.io.OutputStream stream, Compressor.Tar.Compression compression) throws java.io.IOException
java.io.IOException
protected void writeDirectoryEntry(java.lang.String name, long timestamp) throws java.io.IOException
writeDirectoryEntry
in class Compressor
java.io.IOException
protected void writeFileEntry(java.lang.String name, java.io.InputStream source, long length, long timestamp) throws java.io.IOException
writeFileEntry
in class Compressor
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException