Package org.eclipse.packager.rpm.parse
Class RpmInputStream
java.lang.Object
java.io.InputStream
org.eclipse.packager.rpm.parse.RpmInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()protected voidorg.apache.commons.compress.archivers.cpio.CpioArchiveInputStreamgetLead()intread()intread(byte[] b) intread(byte[] b, int off, int len) protected <T extends RpmBaseTag>
InputHeader<T> readHeader(boolean withPadding) protected RpmLeadreadLead()voidreset()longskip(long n) Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
RpmInputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
ensureInit
- Throws:
IOException
-
getCpioStream
public org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream getCpioStream() -
getLead
- Throws:
IOException
-
getSignatureHeader
- Throws:
IOException
-
getPayloadHeader
- Throws:
IOException
-
readLead
- Throws:
IOException
-
readHeader
- Throws:
IOException
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-