public class TarInputStream
extends java.io.FilterInputStream
Constructor and Description |
---|
TarInputStream(java.io.InputStream in)
Creates a new tar input stream on the given input stream.
|
Modifier and Type | Method and Description |
---|---|
TarEntry |
getNextEntry()
Moves ahead to the next file in the tar archive and returns
a TarEntry object describing it.
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
public TarInputStream(java.io.InputStream in) throws TarException, java.io.IOException
in
- input streamTarException
java.io.IOException
public TarEntry getNextEntry() throws TarException, java.io.IOException
TarException
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException