Java org.apache.commons.compress.archivers.tar TarArchiveOutputStream fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.compress.archivers.tar TarArchiveOutputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.compress.archivers.tar TarArchiveOutputStream.

The text is from its open source code.

Field

intLONGFILE_ERROR
Fail if a long file name is required in the archive.
intLONGFILE_TRUNCATE
Long paths will be truncated in the archive.
intLONGFILE_GNU
GNU tar extensions are used to store long file names in the archive.

Constructor

Method

voidclose()
Closes the underlying OutputStream.
voidcloseArchiveEntry()
Close an entry.
ArchiveEntrycreateArchiveEntry(File inputFile, String entryName)
voidfinish()
Ends the TAR archive without closing the underlying OutputStream.
voidflush()
voidputArchiveEntry(ArchiveEntry archiveEntry)
Put an entry on the output stream.
voidsetLongFileMode(int longFileMode)
Set the long file mode.
voidwrite(byte[] wBuf, int wOffset, int numToWrite)
Writes bytes to the current tar archive entry.
voidwrite(int b)
Writes a byte to the current archive entry.