|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
org.apache.commons.compress.archivers.ArchiveInputStream
org.apache.commons.compress.archivers.ar.ArArchiveInputStream
public class ArArchiveInputStream
Implements the "ar" archive format as an input stream.
| Constructor Summary | |
|---|---|
ArArchiveInputStream(InputStream pInput)
Constructs an Ar input stream with the referenced stream |
|
| Method Summary | |
|---|---|
void |
close()
|
ArArchiveEntry |
getNextArEntry()
Returns the next AR entry in this stream. |
ArchiveEntry |
getNextEntry()
Returns the next Archive Entry in this Stream. |
static boolean |
matches(byte[] signature,
int length)
Checks if the signature matches ASCII "! |
int |
read(byte[] b,
int off,
int len)
|
| Methods inherited from class org.apache.commons.compress.archivers.ArchiveInputStream |
|---|
canReadEntryData, count, count, getBytesRead, getCount, pushedBackBytes, read |
| Methods inherited from class java.io.InputStream |
|---|
available, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArArchiveInputStream(InputStream pInput)
pInput - the ar input stream| Method Detail |
|---|
public ArArchiveEntry getNextArEntry()
throws IOException
IOException - if the entry could not be read
public ArchiveEntry getNextEntry()
throws IOException
ArchiveInputStream
getNextEntry in class ArchiveInputStreamnull if there are no more entries
IOException - if the next entry could not be read
public void close()
throws IOException
close in interface Closeableclose in class InputStreamIOException
public int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOException
public static boolean matches(byte[] signature,
int length)
signature - the bytes to checklength - the number of bytes to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||