Maven module :un.storage : archive-tar :
Class :
un.storage.archive.tar.TarInputStream
Extends/Implements :
un.api.io.WrapInputStream
Subclasses : -
Variables :
oneBuf,
hasHitEOF,
entrySize,
entryOffset,
readBuf,
buffer,
currEntry
Functions :
TarInputStream,
TarInputStream,
TarInputStream,
close,
getRecordSize,
available,
skip,
getEntryPosition,
getStreamPosition,
getNextEntry,
read,
read,
read,
copyEntryContents
protected byte[]
oneBuf
protected boolean
hasHitEOF
protected long
entrySize
protected long
entryOffset
protected byte[]
readBuf
protected TarBuffer
buffer
protected TarEntry
currEntry
public void
TarInputStream (ByteInputStream is)
public void
TarInputStream (ByteInputStream is, int blockSize)
public void
TarInputStream (ByteInputStream is, int blockSize, int recordSize)
public void
close ()
public int
getRecordSize ()
public int
available ()
public long
skip (long numToSkip)
public long
getEntryPosition ()
public long
getStreamPosition ()
public TarEntry
getNextEntry ()
public int
read ()
public int
read (byte[] buf)
public int
read (byte[] buf, int offset, int numToRead)
public void
copyEntryContents (ByteOutputStream out)
provided to position at each successive entry in the archive, and the read
each entry as a normal input stream using read().
Kerry Menzel
greater than 2GB (longs versus ints).
author Timothy Gerard Endres,