Example usage for Java org.apache.commons.compress.tar TarOutputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
TarOutputStream(final OutputStream output) Construct a TarOutputStream using specified input stream and default block and record sizes. |
void | close() Ends the TAR archive and closes the underlying OutputStream. |
void | closeEntry() Close an entry. |
void | copyEntryContents(final InputStream input) Copies the contents of the specified stream into current tar archive entry. |
void | finish() Ends the TAR archive without closing the underlying OutputStream. |
void | putNextEntry(final TarEntry entry) Put an entry on the output stream. |
void | write(final int data) Writes a byte to the current tar archive entry. |
void | write(final byte[] buffer) Writes bytes to the current tar archive entry. |