public class ArArchiveInputStream extends ArchiveInputStream
| Constructor and Description |
|---|
ArArchiveInputStream(java.io.InputStream pInput)
Constructs an Ar input stream with the referenced stream
|
| Modifier and Type | Method and 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, getBytesRead, getCount, 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 interface java.io.Closeableclose in interface java.lang.AutoCloseableclose 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 checkCopyright © 2010 - 2023 Adobe. All Rights Reserved