Example usage for Java org.apache.commons.compress.archivers.tar TarArchiveOutputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
int | LONGFILE_ERROR Fail if a long file name is required in the archive. |
int | LONGFILE_TRUNCATE Long paths will be truncated in the archive. |
int | LONGFILE_GNU GNU tar extensions are used to store long file names in the archive. |
TarArchiveOutputStream(OutputStream os) Constructor for TarInputStream. | |
TarArchiveOutputStream(OutputStream os, int blockSize) Constructor for TarInputStream. | |
TarArchiveOutputStream(OutputStream os, int blockSize, int recordSize) Constructor for TarInputStream. |
void | close() Closes the underlying OutputStream. |
void | closeArchiveEntry() Close an entry. |
ArchiveEntry | createArchiveEntry(File inputFile, String entryName) |
void | finish() Ends the TAR archive without closing the underlying OutputStream. |
void | flush() |
void | putArchiveEntry(ArchiveEntry archiveEntry) Put an entry on the output stream. |
void | setLongFileMode(int longFileMode) Set the long file mode. |
void | write(byte[] wBuf, int wOffset, int numToWrite) Writes bytes to the current tar archive entry. |
void | write(int b) Writes a byte to the current archive entry. |