|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jguild.jrpm.io.RPMLead
The Java Version of the C struct for the lead.
C struct :
struct rpmlead {
unsigned char magic[4];
unsigned char major, minor;
short type; (2 byte)
short archnum; (2 byte)
char name[66];
short osnum; (2 byte)
short signature_type; (2 byte)
char reserved[16];
} ;
Constructor Summary | |
protected |
RPMLead(java.io.DataInputStream inputStream)
|
Method Summary | |
LeadArchitecture |
getArchitecture()
Get the architecture of a rpm |
int |
getMajorVersion()
Get the major number of the rpm version a rpm is build for |
int |
getMinorVersion()
Get the minor number of the rpm version a rpm is build for |
java.lang.String |
getName()
Get the name of this rpm. |
LeadOS |
getOperationSystem()
Get the operation system a rpm is build for |
LeadSignature |
getSignatureType()
Get the type of signature this rpm provides |
long |
getSize()
Get the size of this structure in bytes (as defined for a rpm file) |
LeadType |
getType()
Get the type of a rpm file (binary or source) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected RPMLead(java.io.DataInputStream inputStream) throws java.io.IOException
Method Detail |
public LeadArchitecture getArchitecture()
public int getMajorVersion()
public int getMinorVersion()
public java.lang.String getName()
public LeadOS getOperationSystem()
public LeadSignature getSignatureType()
public final long getSize()
public LeadType getType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |