|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.sdsc.inca.util.RpmPackage.RpmProperty
An RPM property is a numeric tag, a type indicator, and associated data. The package header and signature each consist of a set of these.
Constructor Summary | |
RpmPackage.RpmProperty(int tag,
int type,
byte[] value)
Instantiates a RpmProperty with the enclosed values. |
Method Summary | |
int |
getTag()
Returns the property tag. |
java.lang.String |
getTagAsString(boolean signatureTag)
A convenience function that returns a text name for the tag. |
int |
getType()
Returns the property type. |
java.lang.String |
getTypeAsString()
A convenience function that returns a text name for the type. |
byte[] |
getValue()
Returns the property value. |
java.lang.String |
getValueAsString()
Returns the property value in string form. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RPMSIGTAG_SIZE
public static final int RPMSIGTAG_LEMD5_1
public static final int RPMSIGTAG_PGP
public static final int RPMSIGTAG_LEMD5_2
public static final int RPMSIGTAG_MD5
public static final int RPMSIGTAG_GPG
public static final int RPMSIGTAG_PGP5
public static final int RPMSIGTAG_PAYLOADSIZE
public static final int RPMTAG_NAME
public static final int RPMTAG_VERSION
public static final int RPMTAG_RELEASE
public static final int RPMTAG_EPOCH
public static final int RPMTAG_SUMMARY
public static final int RPMTAG_DESCRIPTION
public static final int RPMTAG_BUILDTIME
public static final int RPMTAG_BUILDHOST
public static final int RPMTAG_INSTALLTIME
public static final int RPMTAG_SIZE
public static final int RPMTAG_DISTRIBUTION
public static final int RPMTAG_VENDOR
public static final int RPMTAG_GIF
public static final int RPMTAG_XPM
public static final int RPMTAG_LICENSE
public static final int RPMTAG_PACKAGER
public static final int RPMTAG_GROUP
public static final int RPMTAG_CHANGELOG
public static final int RPMTAG_SOURCE
public static final int RPMTAG_URL
public static final int RPMTAG_OS
public static final int RPMTAG_ARCH
public static final int RPMTAG_PREIN
public static final int RPMTAG_POSTIN
public static final int RPMTAG_PREUN
public static final int RPMTAG_POSTUN
public static final int RPMTAG_OLDFILENAMES
public static final int RPMTAG_FILESIZES
public static final int RPMTAG_FILESTATES
public static final int RPMTAG_FILEMODES
public static final int RPMTAG_FILEUIDS
public static final int RPMTAG_FILEGIDS
public static final int RPMTAG_FILERDEVS
public static final int RPMTAG_FILEMTIMES
public static final int RPMTAG_FILEMD5S
public static final int RPMTAG_FILELINKTOS
public static final int RPMTAG_FILEFLAGS
public static final int RPMTAG_ROOT
public static final int RPMTAG_FILEUSERNAME
public static final int RPMTAG_FILEGROUPNAME
public static final int RPMTAG_EXCLUDE
public static final int RPMTAG_EXCLUSIVE
public static final int RPMTAG_ICON
public static final int RPMTAG_SOURCERPM
public static final int RPMTAG_FILEVERIFYFLAGS
public static final int RPMTAG_ARCHIVESIZE
public static final int RPMTAG_PROVIDENAME
public static final int RPMTAG_REQUIREFLAGS
public static final int RPMTAG_REQUIRENAME
public static final int RPMTAG_REQUIREVERSION
public static final int RPMTAG_NOSOURCE
public static final int RPMTAG_NOPATCH
public static final int RPMTAG_CONFLICTFLAGS
public static final int RPMTAG_CONFLICTNAME
public static final int RPMTAG_CONFLICTVERSION
public static final int RPMTAG_DEFAULTPREFIX
public static final int RPMTAG_BUILDROOT
public static final int RPMTAG_INSTALLPREFIX
public static final int RPMTAG_EXCLUDEARCH
public static final int RPMTAG_EXCLUDEOS
public static final int RPMTAG_EXCLUSIVEARCH
public static final int RPMTAG_EXCLUSIVEOS
public static final int RPMTAG_AUTOREQPROV
public static final int RPMTAG_RPMVERSION
public static final int RPMTAG_TRIGGERSCRIPTS
public static final int RPMTAG_TRIGGERNAME
public static final int RPMTAG_TRIGGERVERSION
public static final int RPMTAG_TRIGGERFLAGS
public static final int RPMTAG_TRIGGERINDEX
public static final int RPMTAG_VERIFYSCRIPT
public static final int RPMTAG_CHANGELOGTIME
public static final int RPMTAG_CHANGELOGNAME
public static final int RPMTAG_CHANGELOGTEXT
public static final int RPMTAG_BROKENMD5
public static final int RPMTAG_PREREQ
public static final int RPMTAG_PREINPROG
public static final int RPMTAG_POSTINPROG
public static final int RPMTAG_PREUNPROG
public static final int RPMTAG_POSTUNPROG
public static final int RPMTAG_BUILDARCHS
public static final int RPMTAG_OBSOLETENAME
public static final int RPMTAG_VERIFYSCRIPTPROG
public static final int RPMTAG_TRIGGERSCRIPTPROG
public static final int RPMTAG_DOCDIR
public static final int RPMTAG_COOKIE
public static final int RPMTAG_FILEDEVICES
public static final int RPMTAG_FILEINODES
public static final int RPMTAG_FILELANGS
public static final int RPMTAG_PREFIXES
public static final int RPMTAG_INSTPREFIXES
public static final int RPMTAG_TRIGGERIN
public static final int RPMTAG_TRIGGERUN
public static final int RPMTAG_TRIGGERPOSTUN
public static final int RPMTAG_AUTOREQ
public static final int RPMTAG_AUTOPROV
public static final int RPMTAG_CAPABILITY
public static final int RPMTAG_SOURCEPACKAGE
public static final int RPMTAG_OLDORIGFILENAMES
public static final int RPMTAG_BUILDPREREQ
public static final int RPMTAG_BUILDREQUIRES
public static final int RPMTAG_BUILDCONFLICTS
public static final int RPMTAG_BUILDMACROS
public static final int RPMTAG_PROVIDEFLAGS
public static final int RPMTAG_PROVIDEVERSION
public static final int RPMTAG_OBSOLETEFLAGS
public static final int RPMTAG_OBSOLETEVERSION
public static final int RPMTAG_DIRINDEXES
public static final int RPMTAG_BASENAMES
public static final int RPMTAG_DIRNAMES
public static final int RPMTAG_ORIGDIRINDEXES
public static final int RPMTAG_ORIGBASENAMES
public static final int RPMTAG_ORIGDIRNAMES
public static final int RPMTAG_OPTFLAGS
public static final int RPMTAG_DISTURL
public static final int RPMTAG_PAYLOADFORMAT
public static final int RPMTAG_PAYLOADCOMPRESSOR
public static final int RPMTAG_PAYLOADFLAGS
public static final int RPMTAG_MULTILIBS
public static final int RPMTAG_INSTALLTID
public static final int RPMTAG_REMOVETID
public static final int RPMTAG_SHA1RHN
public static final int RPMTAG_RHNPLATFORM
public static final int RPMTAG_PLATFORM
public static final int RPMTAG_PATCHESNAME
public static final int RPMTAG_PATCHESFLAGS
public static final int RPMTAG_PATCHESVERSION
public static final int RPMTAG_CACHECTIME
public static final int RPMTAG_CACHEPKGPATH
public static final int RPMTAG_CACHEPKGSIZE
public static final int RPMTAG_CACHEPKGMTIME
public static final int RPMTAG_FILECOLORS
public static final int RPMTAG_FILECLASS
public static final int RPMTAG_CLASSDICT
public static final int RPMTAG_FILEDEPENDSX
public static final int RPMTAG_FILEDEPENDSN
public static final int RPMTAG_DEPENDSDICT
public static final int RPMTAG_SOURCEPKGID
public static final int RPMTAG_FILECONTEXTS
public static final int RPMTAG_FSCONTEXTS
public static final int RPMTAG_RECONTEXTS
public static final int RPMTAG_POLICIES
public static final int RPMTAG_PRETRANS
public static final int RPMTAG_POSTTRANS
public static final int RPMTAG_PRETRANSPROG
public static final int RPMTAG_POSTTRANSPROG
public static final int RPMTAG_DISTTAG
public static final int RPMTAG_SUGGESTSNAME
public static final int RPMTAG_SUGGESTSVERSION
public static final int RPMTAG_SUGGESTSFLAGS
public static final int RPMTAG_ENHANCESNAME
public static final int RPMTAG_ENHANCESVERSION
public static final int RPMTAG_ENHANCESFLAGS
public static final int RPMTAG_PRIORITY
public static final int RPMTAG_CVSID
public final java.lang.String[] RPMSIGTAG_NAMES
public final java.lang.String[] RPMTAG_NAMES
public static final int TYPE_CHAR
public static final int TYPE_INT8
public static final int TYPE_INT16
public static final int TYPE_INT32
public static final int TYPE_INT64
public static final int TYPE_STRING
public static final int TYPE_BIN
public static final int TYPE_STRING_ARRAY
public static final int TYPE_I18NSTRING
public final java.lang.String[] TYPE_NAMES
Constructor Detail |
public RpmPackage.RpmProperty(int tag, int type, byte[] value)
tag
- The property tag (see value enumeration below).type
- The property type (see value enumeration below).value
- The bytes which contain data for the property value.
The interpretation depends of the property type.Method Detail |
public int getTag()
public java.lang.String getTagAsString(boolean signatureTag)
public int getType()
public java.lang.String getTypeAsString()
public byte[] getValue()
public java.lang.String getValueAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |