public class ArArchiveInputStream extends ArchiveInputStream
| Constructor | Description |
|---|---|
ArArchiveInputStream(java.io.InputStream pInput) |
Constructs an Ar input stream with the referenced stream
|
| Modifier and Type | Method | Description |
|---|---|---|
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 "!<arch>" followed by a single LF
control character
|
int |
read(byte[] b,
int off,
int len) |
canReadEntryData, count, count, getBytesRead, getCount, pushedBackBytes, readpublic ArArchiveInputStream(java.io.InputStream pInput)
pInput - the ar input streampublic ArArchiveEntry getNextArEntry() throws java.io.IOException
java.io.IOException - if the entry could not be readpublic ArchiveEntry getNextEntry() throws java.io.IOException
ArchiveInputStreamgetNextEntry in class ArchiveInputStreamnull if there are no more entriesjava.io.IOException - if the next entry could not be readpublic void close() throws java.io.IOException
close in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b, int off, int len) throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic static boolean matches(byte[] signature, int length)
signature - the bytes to checklength - the number of bytes to check