Maven module :un.storage : archive-tar :
Class :
un.storage.archive.tar.TarOutputStream
Extends/Implements :
un.api.io.WrapOutputStream
Subclasses : -
Variables :
currSize,
currBytes,
oneBuf,
recordBuf,
assemLen,
assemBuf,
buffer
Functions :
TarOutputStream,
TarOutputStream,
TarOutputStream,
finish,
close,
getRecordSize,
putNextEntry,
closeEntry,
write,
write,
write
protected long
currSize
protected long
currBytes
protected byte[]
oneBuf
protected byte[]
recordBuf
protected int
assemLen
protected byte[]
assemBuf
protected TarBuffer
buffer
public void
TarOutputStream (ByteOutputStream os)
public void
TarOutputStream (ByteOutputStream os, int blockSize)
public void
TarOutputStream (ByteOutputStream os, int blockSize, int recordSize)
public void
finish ()
public void
close ()
public int
getRecordSize ()
public void
putNextEntry (TarEntry entry)
public void
closeEntry ()
public void
write (byte b)
public void
write (byte[] wBuf)
public void
write (byte[] wBuf, int wOffset, int numToWrite)
provided to put entries, and then write their contents by writing to this
stream using write().
Kerry Menzel
greater than 2GB (longs versus ints).
author Timothy Gerard Endres,