|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jguild.jrpm.io.Header com.jguild.jrpm.io.RPMSignature
RPM Signature.
Field Summary |
Fields inherited from class com.jguild.jrpm.io.Header |
size |
Constructor Summary | |
RPMSignature(java.io.DataInputStream inputStream)
Creates a new RPMSignature object from an input stream |
Method Summary | |
static java.lang.String[] |
getKnownTagNames()
Read all known tag names for this header structure. |
long |
getTagIdForName(java.lang.String tagname)
Read a tag with a given tag name. |
java.lang.String |
getTagNameForId(long tagid)
Read a tag with a given tag id. |
boolean |
isValidTag(long tagid)
Test if the given tagid is associated with a valid tag |
boolean |
isValidTag(java.lang.String tagname)
Test if the given tagname is associated with a valid tag |
Methods inherited from class com.jguild.jrpm.io.Header |
getSize, getTag, getTag, getTag, getTagIds, getTagNames, setTag, setTag, setTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RPMSignature(java.io.DataInputStream inputStream) throws java.io.IOException
inputStream
- The input stream
java.io.IOException
- if an error occurs on reading informations out of the streamMethod Detail |
public static java.lang.String[] getKnownTagNames()
Header
public long getTagIdForName(java.lang.String tagname)
Header
getTagIdForName
in class Header
tagname
- A RPM tag name
public java.lang.String getTagNameForId(long tagid)
Header
getTagNameForId
in class Header
tagid
- A RPM tag id
public boolean isValidTag(long tagid)
Header
isValidTag
in class Header
tagid
- The id of a tag
public boolean isValidTag(java.lang.String tagname)
Header
isValidTag
in class Header
tagname
- The name of a tag
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |