|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.sdsc.inca.util.RpmPackage
public class RpmPackage
Nested Class Summary | |
---|---|
class |
RpmPackage.RpmLead
The lead of an RPM package is a fixed-length section that appears in the first 96 bytes. |
class |
RpmPackage.RpmProperty
An RPM property is a numeric tag, a type indicator, and associated data. |
Constructor Summary | |
---|---|
RpmPackage(java.io.InputStream source)
Instantiates an RpmPackage by reading source. |
Method Summary | |
---|---|
RpmPackage.RpmProperty[] |
getHeader()
Returns the properties from the package header, which contains most of the package properties of interest. |
RpmPackage.RpmLead |
getLead()
Returns the lead from the RPM package. |
RpmPackage.RpmProperty[] |
getSignature()
Returns the properties from the package signature. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RpmPackage(java.io.InputStream source) throws java.io.IOException
source
- An input stream set to return the bytes of an RPM package.
java.io.IOException
Method Detail |
---|
public RpmPackage.RpmLead getLead()
public RpmPackage.RpmProperty[] getHeader()
public RpmPackage.RpmProperty[] getSignature()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |