public class ArArchiveInputStream extends ArchiveInputStream
| Constructor and Description | 
|---|
| ArArchiveInputStream(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, count, count, getBytesRead, getCount, pushedBackBytes, readavailable, mark, markSupported, read, reset, skippublic ArArchiveInputStream(InputStream pInput)
pInput - the ar input streampublic ArArchiveEntry getNextArEntry() throws IOException
IOException - if the entry could not be readpublic ArchiveEntry getNextEntry() throws IOException
ArchiveInputStreamgetNextEntry in class ArchiveInputStreamnull if there are no more entriesIOException - if the next entry could not be readpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in class InputStreamIOExceptionpublic static boolean matches(byte[] signature, int length)
signature - the bytes to checklength - the number of bytes to checkCopyright © 2018 The Apache Software Foundation. All rights reserved.