public class ArArchiveInputStream extends ArchiveInputStream<ArArchiveEntry>
| Constructor and Description |
|---|
ArArchiveInputStream(java.io.InputStream inputStream)
Constructs an Ar input stream with the referenced stream
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ArArchiveEntry |
getNextArEntry()
Deprecated.
Use
getNextEntry(). |
ArArchiveEntry |
getNextEntry()
Gets 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, getCharset, getCount, mark, markSupported, read, resetpublic ArArchiveInputStream(java.io.InputStream inputStream)
inputStream - the ar input streampublic static boolean matches(byte[] signature,
int length)
signature - the bytes to checklength - the number of bytes to checkpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterInputStreamjava.io.IOException@Deprecated public ArArchiveEntry getNextArEntry() throws java.io.IOException
getNextEntry().java.io.IOException - if the entry could not be readpublic ArArchiveEntry getNextEntry() throws java.io.IOException
ArchiveInputStreamgetNextEntry in class ArchiveInputStream<ArArchiveEntry>null if there are no more entriesjava.io.IOException - if the next entry could not be readpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionCopyright © 2010 - 2024 Adobe. All Rights Reserved