Example usage for Java org.apache.commons.compress.archivers.cpio CpioArchiveInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
CpioArchiveInputStream(final InputStream in) Construct the cpio input stream |
void | close() Closes the CPIO input stream. |
CpioArchiveEntry | getNextCPIOEntry() Reads the next CPIO file entry and positions stream at the beginning of the entry data. |
ArchiveEntry | getNextEntry() |
boolean | matches(byte[] signature, int length) Checks if the signature matches one of the following magic values: Strings: "070701" - MAGIC_NEW "070702" - MAGIC_NEW_CRC "070707" - MAGIC_OLD_ASCII Octal Binary value: 070707 - MAGIC_OLD_BINARY (held as a short) = 0x71C7 or 0xC771 |
int | read(byte b[]) Reads some number of bytes from the input stream and stores them into the buffer array b . |