edu.sdsc.inca.util
Class RpmPackage.RpmProperty

java.lang.Object
  extended byedu.sdsc.inca.util.RpmPackage.RpmProperty
Enclosing class:
RpmPackage

public class RpmPackage.RpmProperty
extends java.lang.Object

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.


Field Summary
static int RPMSIGTAG_GPG
           
static int RPMSIGTAG_LEMD5_1
           
static int RPMSIGTAG_LEMD5_2
           
static int RPMSIGTAG_MD5
           
 java.lang.String[] RPMSIGTAG_NAMES
           
static int RPMSIGTAG_PAYLOADSIZE
           
static int RPMSIGTAG_PGP
           
static int RPMSIGTAG_PGP5
           
static int RPMSIGTAG_SIZE
          Enumeration of signature property tag values.
static int RPMTAG_ARCH
           
static int RPMTAG_ARCHIVESIZE
           
static int RPMTAG_AUTOPROV
           
static int RPMTAG_AUTOREQ
           
static int RPMTAG_AUTOREQPROV
           
static int RPMTAG_BASENAMES
           
static int RPMTAG_BROKENMD5
           
static int RPMTAG_BUILDARCHS
           
static int RPMTAG_BUILDCONFLICTS
           
static int RPMTAG_BUILDHOST
           
static int RPMTAG_BUILDMACROS
           
static int RPMTAG_BUILDPREREQ
           
static int RPMTAG_BUILDREQUIRES
           
static int RPMTAG_BUILDROOT
           
static int RPMTAG_BUILDTIME
           
static int RPMTAG_CACHECTIME
           
static int RPMTAG_CACHEPKGMTIME
           
static int RPMTAG_CACHEPKGPATH
           
static int RPMTAG_CACHEPKGSIZE
           
static int RPMTAG_CAPABILITY
           
static int RPMTAG_CHANGELOG
           
static int RPMTAG_CHANGELOGNAME
           
static int RPMTAG_CHANGELOGTEXT
           
static int RPMTAG_CHANGELOGTIME
           
static int RPMTAG_CLASSDICT
           
static int RPMTAG_CONFLICTFLAGS
           
static int RPMTAG_CONFLICTNAME
           
static int RPMTAG_CONFLICTVERSION
           
static int RPMTAG_COOKIE
           
static int RPMTAG_CVSID
           
static int RPMTAG_DEFAULTPREFIX
           
static int RPMTAG_DEPENDSDICT
           
static int RPMTAG_DESCRIPTION
           
static int RPMTAG_DIRINDEXES
           
static int RPMTAG_DIRNAMES
           
static int RPMTAG_DISTRIBUTION
           
static int RPMTAG_DISTTAG
           
static int RPMTAG_DISTURL
           
static int RPMTAG_DOCDIR
           
static int RPMTAG_ENHANCESFLAGS
           
static int RPMTAG_ENHANCESNAME
           
static int RPMTAG_ENHANCESVERSION
           
static int RPMTAG_EPOCH
           
static int RPMTAG_EXCLUDE
           
static int RPMTAG_EXCLUDEARCH
           
static int RPMTAG_EXCLUDEOS
           
static int RPMTAG_EXCLUSIVE
           
static int RPMTAG_EXCLUSIVEARCH
           
static int RPMTAG_EXCLUSIVEOS
           
static int RPMTAG_FILECLASS
           
static int RPMTAG_FILECOLORS
           
static int RPMTAG_FILECONTEXTS
           
static int RPMTAG_FILEDEPENDSN
           
static int RPMTAG_FILEDEPENDSX
           
static int RPMTAG_FILEDEVICES
           
static int RPMTAG_FILEFLAGS
           
static int RPMTAG_FILEGIDS
           
static int RPMTAG_FILEGROUPNAME
           
static int RPMTAG_FILEINODES
           
static int RPMTAG_FILELANGS
           
static int RPMTAG_FILELINKTOS
           
static int RPMTAG_FILEMD5S
           
static int RPMTAG_FILEMODES
           
static int RPMTAG_FILEMTIMES
           
static int RPMTAG_FILERDEVS
           
static int RPMTAG_FILESIZES
           
static int RPMTAG_FILESTATES
           
static int RPMTAG_FILEUIDS
           
static int RPMTAG_FILEUSERNAME
           
static int RPMTAG_FILEVERIFYFLAGS
           
static int RPMTAG_FSCONTEXTS
           
static int RPMTAG_GIF
           
static int RPMTAG_GROUP
           
static int RPMTAG_ICON
           
static int RPMTAG_INSTALLPREFIX
           
static int RPMTAG_INSTALLTID
           
static int RPMTAG_INSTALLTIME
           
static int RPMTAG_INSTPREFIXES
           
static int RPMTAG_LICENSE
           
static int RPMTAG_MULTILIBS
           
static int RPMTAG_NAME
          Enumeration of header property tag values.
 java.lang.String[] RPMTAG_NAMES
           
static int RPMTAG_NOPATCH
           
static int RPMTAG_NOSOURCE
           
static int RPMTAG_OBSOLETEFLAGS
           
static int RPMTAG_OBSOLETENAME
           
static int RPMTAG_OBSOLETEVERSION
           
static int RPMTAG_OLDFILENAMES
           
static int RPMTAG_OLDORIGFILENAMES
           
static int RPMTAG_OPTFLAGS
           
static int RPMTAG_ORIGBASENAMES
           
static int RPMTAG_ORIGDIRINDEXES
           
static int RPMTAG_ORIGDIRNAMES
           
static int RPMTAG_OS
           
static int RPMTAG_PACKAGER
           
static int RPMTAG_PATCHESFLAGS
           
static int RPMTAG_PATCHESNAME
           
static int RPMTAG_PATCHESVERSION
           
static int RPMTAG_PAYLOADCOMPRESSOR
           
static int RPMTAG_PAYLOADFLAGS
           
static int RPMTAG_PAYLOADFORMAT
           
static int RPMTAG_PLATFORM
           
static int RPMTAG_POLICIES
           
static int RPMTAG_POSTIN
           
static int RPMTAG_POSTINPROG
           
static int RPMTAG_POSTTRANS
           
static int RPMTAG_POSTTRANSPROG
           
static int RPMTAG_POSTUN
           
static int RPMTAG_POSTUNPROG
           
static int RPMTAG_PREFIXES
           
static int RPMTAG_PREIN
           
static int RPMTAG_PREINPROG
           
static int RPMTAG_PREREQ
           
static int RPMTAG_PRETRANS
           
static int RPMTAG_PRETRANSPROG
           
static int RPMTAG_PREUN
           
static int RPMTAG_PREUNPROG
           
static int RPMTAG_PRIORITY
           
static int RPMTAG_PROVIDEFLAGS
           
static int RPMTAG_PROVIDENAME
           
static int RPMTAG_PROVIDEVERSION
           
static int RPMTAG_RECONTEXTS
           
static int RPMTAG_RELEASE
           
static int RPMTAG_REMOVETID
           
static int RPMTAG_REQUIREFLAGS
           
static int RPMTAG_REQUIRENAME
           
static int RPMTAG_REQUIREVERSION
           
static int RPMTAG_RHNPLATFORM
           
static int RPMTAG_ROOT
           
static int RPMTAG_RPMVERSION
           
static int RPMTAG_SHA1RHN
           
static int RPMTAG_SIZE
           
static int RPMTAG_SOURCE
           
static int RPMTAG_SOURCEPACKAGE
           
static int RPMTAG_SOURCEPKGID
           
static int RPMTAG_SOURCERPM
           
static int RPMTAG_SUGGESTSFLAGS
           
static int RPMTAG_SUGGESTSNAME
           
static int RPMTAG_SUGGESTSVERSION
           
static int RPMTAG_SUMMARY
           
static int RPMTAG_TRIGGERFLAGS
           
static int RPMTAG_TRIGGERIN
           
static int RPMTAG_TRIGGERINDEX
           
static int RPMTAG_TRIGGERNAME
           
static int RPMTAG_TRIGGERPOSTUN
           
static int RPMTAG_TRIGGERSCRIPTPROG
           
static int RPMTAG_TRIGGERSCRIPTS
           
static int RPMTAG_TRIGGERUN
           
static int RPMTAG_TRIGGERVERSION
           
static int RPMTAG_URL
           
static int RPMTAG_VENDOR
           
static int RPMTAG_VERIFYSCRIPT
           
static int RPMTAG_VERIFYSCRIPTPROG
           
static int RPMTAG_VERSION
           
static int RPMTAG_XPM
           
static int TYPE_BIN
           
static int TYPE_CHAR
          Enumeration of property type values.
static int TYPE_I18NSTRING
           
static int TYPE_INT16
           
static int TYPE_INT32
           
static int TYPE_INT64
           
static int TYPE_INT8
           
 java.lang.String[] TYPE_NAMES
           
static int TYPE_STRING
           
static int TYPE_STRING_ARRAY
           
 
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

RPMSIGTAG_SIZE

public static final int RPMSIGTAG_SIZE
Enumeration of signature property tag values.

See Also:
Constant Field Values

RPMSIGTAG_LEMD5_1

public static final int RPMSIGTAG_LEMD5_1
See Also:
Constant Field Values

RPMSIGTAG_PGP

public static final int RPMSIGTAG_PGP
See Also:
Constant Field Values

RPMSIGTAG_LEMD5_2

public static final int RPMSIGTAG_LEMD5_2
See Also:
Constant Field Values

RPMSIGTAG_MD5

public static final int RPMSIGTAG_MD5
See Also:
Constant Field Values

RPMSIGTAG_GPG

public static final int RPMSIGTAG_GPG
See Also:
Constant Field Values

RPMSIGTAG_PGP5

public static final int RPMSIGTAG_PGP5
See Also:
Constant Field Values

RPMSIGTAG_PAYLOADSIZE

public static final int RPMSIGTAG_PAYLOADSIZE
See Also:
Constant Field Values

RPMTAG_NAME

public static final int RPMTAG_NAME
Enumeration of header property tag values.

See Also:
Constant Field Values

RPMTAG_VERSION

public static final int RPMTAG_VERSION
See Also:
Constant Field Values

RPMTAG_RELEASE

public static final int RPMTAG_RELEASE
See Also:
Constant Field Values

RPMTAG_EPOCH

public static final int RPMTAG_EPOCH
See Also:
Constant Field Values

RPMTAG_SUMMARY

public static final int RPMTAG_SUMMARY
See Also:
Constant Field Values

RPMTAG_DESCRIPTION

public static final int RPMTAG_DESCRIPTION
See Also:
Constant Field Values

RPMTAG_BUILDTIME

public static final int RPMTAG_BUILDTIME
See Also:
Constant Field Values

RPMTAG_BUILDHOST

public static final int RPMTAG_BUILDHOST
See Also:
Constant Field Values

RPMTAG_INSTALLTIME

public static final int RPMTAG_INSTALLTIME
See Also:
Constant Field Values

RPMTAG_SIZE

public static final int RPMTAG_SIZE
See Also:
Constant Field Values

RPMTAG_DISTRIBUTION

public static final int RPMTAG_DISTRIBUTION
See Also:
Constant Field Values

RPMTAG_VENDOR

public static final int RPMTAG_VENDOR
See Also:
Constant Field Values

RPMTAG_GIF

public static final int RPMTAG_GIF
See Also:
Constant Field Values

RPMTAG_XPM

public static final int RPMTAG_XPM
See Also:
Constant Field Values

RPMTAG_LICENSE

public static final int RPMTAG_LICENSE
See Also:
Constant Field Values

RPMTAG_PACKAGER

public static final int RPMTAG_PACKAGER
See Also:
Constant Field Values

RPMTAG_GROUP

public static final int RPMTAG_GROUP
See Also:
Constant Field Values

RPMTAG_CHANGELOG

public static final int RPMTAG_CHANGELOG
See Also:
Constant Field Values

RPMTAG_SOURCE

public static final int RPMTAG_SOURCE
See Also:
Constant Field Values

RPMTAG_URL

public static final int RPMTAG_URL
See Also:
Constant Field Values

RPMTAG_OS

public static final int RPMTAG_OS
See Also:
Constant Field Values

RPMTAG_ARCH

public static final int RPMTAG_ARCH
See Also:
Constant Field Values

RPMTAG_PREIN

public static final int RPMTAG_PREIN
See Also:
Constant Field Values

RPMTAG_POSTIN

public static final int RPMTAG_POSTIN
See Also:
Constant Field Values

RPMTAG_PREUN

public static final int RPMTAG_PREUN
See Also:
Constant Field Values

RPMTAG_POSTUN

public static final int RPMTAG_POSTUN
See Also:
Constant Field Values

RPMTAG_OLDFILENAMES

public static final int RPMTAG_OLDFILENAMES
See Also:
Constant Field Values

RPMTAG_FILESIZES

public static final int RPMTAG_FILESIZES
See Also:
Constant Field Values

RPMTAG_FILESTATES

public static final int RPMTAG_FILESTATES
See Also:
Constant Field Values

RPMTAG_FILEMODES

public static final int RPMTAG_FILEMODES
See Also:
Constant Field Values

RPMTAG_FILEUIDS

public static final int RPMTAG_FILEUIDS
See Also:
Constant Field Values

RPMTAG_FILEGIDS

public static final int RPMTAG_FILEGIDS
See Also:
Constant Field Values

RPMTAG_FILERDEVS

public static final int RPMTAG_FILERDEVS
See Also:
Constant Field Values

RPMTAG_FILEMTIMES

public static final int RPMTAG_FILEMTIMES
See Also:
Constant Field Values

RPMTAG_FILEMD5S

public static final int RPMTAG_FILEMD5S
See Also:
Constant Field Values

RPMTAG_FILELINKTOS

public static final int RPMTAG_FILELINKTOS
See Also:
Constant Field Values

RPMTAG_FILEFLAGS

public static final int RPMTAG_FILEFLAGS
See Also:
Constant Field Values

RPMTAG_ROOT

public static final int RPMTAG_ROOT
See Also:
Constant Field Values

RPMTAG_FILEUSERNAME

public static final int RPMTAG_FILEUSERNAME
See Also:
Constant Field Values

RPMTAG_FILEGROUPNAME

public static final int RPMTAG_FILEGROUPNAME
See Also:
Constant Field Values

RPMTAG_EXCLUDE

public static final int RPMTAG_EXCLUDE
See Also:
Constant Field Values

RPMTAG_EXCLUSIVE

public static final int RPMTAG_EXCLUSIVE
See Also:
Constant Field Values

RPMTAG_ICON

public static final int RPMTAG_ICON
See Also:
Constant Field Values

RPMTAG_SOURCERPM

public static final int RPMTAG_SOURCERPM
See Also:
Constant Field Values

RPMTAG_FILEVERIFYFLAGS

public static final int RPMTAG_FILEVERIFYFLAGS
See Also:
Constant Field Values

RPMTAG_ARCHIVESIZE

public static final int RPMTAG_ARCHIVESIZE
See Also:
Constant Field Values

RPMTAG_PROVIDENAME

public static final int RPMTAG_PROVIDENAME
See Also:
Constant Field Values

RPMTAG_REQUIREFLAGS

public static final int RPMTAG_REQUIREFLAGS
See Also:
Constant Field Values

RPMTAG_REQUIRENAME

public static final int RPMTAG_REQUIRENAME
See Also:
Constant Field Values

RPMTAG_REQUIREVERSION

public static final int RPMTAG_REQUIREVERSION
See Also:
Constant Field Values

RPMTAG_NOSOURCE

public static final int RPMTAG_NOSOURCE
See Also:
Constant Field Values

RPMTAG_NOPATCH

public static final int RPMTAG_NOPATCH
See Also:
Constant Field Values

RPMTAG_CONFLICTFLAGS

public static final int RPMTAG_CONFLICTFLAGS
See Also:
Constant Field Values

RPMTAG_CONFLICTNAME

public static final int RPMTAG_CONFLICTNAME
See Also:
Constant Field Values

RPMTAG_CONFLICTVERSION

public static final int RPMTAG_CONFLICTVERSION
See Also:
Constant Field Values

RPMTAG_DEFAULTPREFIX

public static final int RPMTAG_DEFAULTPREFIX
See Also:
Constant Field Values

RPMTAG_BUILDROOT

public static final int RPMTAG_BUILDROOT
See Also:
Constant Field Values

RPMTAG_INSTALLPREFIX

public static final int RPMTAG_INSTALLPREFIX
See Also:
Constant Field Values

RPMTAG_EXCLUDEARCH

public static final int RPMTAG_EXCLUDEARCH
See Also:
Constant Field Values

RPMTAG_EXCLUDEOS

public static final int RPMTAG_EXCLUDEOS
See Also:
Constant Field Values

RPMTAG_EXCLUSIVEARCH

public static final int RPMTAG_EXCLUSIVEARCH
See Also:
Constant Field Values

RPMTAG_EXCLUSIVEOS

public static final int RPMTAG_EXCLUSIVEOS
See Also:
Constant Field Values

RPMTAG_AUTOREQPROV

public static final int RPMTAG_AUTOREQPROV
See Also:
Constant Field Values

RPMTAG_RPMVERSION

public static final int RPMTAG_RPMVERSION
See Also:
Constant Field Values

RPMTAG_TRIGGERSCRIPTS

public static final int RPMTAG_TRIGGERSCRIPTS
See Also:
Constant Field Values

RPMTAG_TRIGGERNAME

public static final int RPMTAG_TRIGGERNAME
See Also:
Constant Field Values

RPMTAG_TRIGGERVERSION

public static final int RPMTAG_TRIGGERVERSION
See Also:
Constant Field Values

RPMTAG_TRIGGERFLAGS

public static final int RPMTAG_TRIGGERFLAGS
See Also:
Constant Field Values

RPMTAG_TRIGGERINDEX

public static final int RPMTAG_TRIGGERINDEX
See Also:
Constant Field Values

RPMTAG_VERIFYSCRIPT

public static final int RPMTAG_VERIFYSCRIPT
See Also:
Constant Field Values

RPMTAG_CHANGELOGTIME

public static final int RPMTAG_CHANGELOGTIME
See Also:
Constant Field Values

RPMTAG_CHANGELOGNAME

public static final int RPMTAG_CHANGELOGNAME
See Also:
Constant Field Values

RPMTAG_CHANGELOGTEXT

public static final int RPMTAG_CHANGELOGTEXT
See Also:
Constant Field Values

RPMTAG_BROKENMD5

public static final int RPMTAG_BROKENMD5
See Also:
Constant Field Values

RPMTAG_PREREQ

public static final int RPMTAG_PREREQ
See Also:
Constant Field Values

RPMTAG_PREINPROG

public static final int RPMTAG_PREINPROG
See Also:
Constant Field Values

RPMTAG_POSTINPROG

public static final int RPMTAG_POSTINPROG
See Also:
Constant Field Values

RPMTAG_PREUNPROG

public static final int RPMTAG_PREUNPROG
See Also:
Constant Field Values

RPMTAG_POSTUNPROG

public static final int RPMTAG_POSTUNPROG
See Also:
Constant Field Values

RPMTAG_BUILDARCHS

public static final int RPMTAG_BUILDARCHS
See Also:
Constant Field Values

RPMTAG_OBSOLETENAME

public static final int RPMTAG_OBSOLETENAME
See Also:
Constant Field Values

RPMTAG_VERIFYSCRIPTPROG

public static final int RPMTAG_VERIFYSCRIPTPROG
See Also:
Constant Field Values

RPMTAG_TRIGGERSCRIPTPROG

public static final int RPMTAG_TRIGGERSCRIPTPROG
See Also:
Constant Field Values

RPMTAG_DOCDIR

public static final int RPMTAG_DOCDIR
See Also:
Constant Field Values

RPMTAG_COOKIE

public static final int RPMTAG_COOKIE
See Also:
Constant Field Values

RPMTAG_FILEDEVICES

public static final int RPMTAG_FILEDEVICES
See Also:
Constant Field Values

RPMTAG_FILEINODES

public static final int RPMTAG_FILEINODES
See Also:
Constant Field Values

RPMTAG_FILELANGS

public static final int RPMTAG_FILELANGS
See Also:
Constant Field Values

RPMTAG_PREFIXES

public static final int RPMTAG_PREFIXES
See Also:
Constant Field Values

RPMTAG_INSTPREFIXES

public static final int RPMTAG_INSTPREFIXES
See Also:
Constant Field Values

RPMTAG_TRIGGERIN

public static final int RPMTAG_TRIGGERIN
See Also:
Constant Field Values

RPMTAG_TRIGGERUN

public static final int RPMTAG_TRIGGERUN
See Also:
Constant Field Values

RPMTAG_TRIGGERPOSTUN

public static final int RPMTAG_TRIGGERPOSTUN
See Also:
Constant Field Values

RPMTAG_AUTOREQ

public static final int RPMTAG_AUTOREQ
See Also:
Constant Field Values

RPMTAG_AUTOPROV

public static final int RPMTAG_AUTOPROV
See Also:
Constant Field Values

RPMTAG_CAPABILITY

public static final int RPMTAG_CAPABILITY
See Also:
Constant Field Values

RPMTAG_SOURCEPACKAGE

public static final int RPMTAG_SOURCEPACKAGE
See Also:
Constant Field Values

RPMTAG_OLDORIGFILENAMES

public static final int RPMTAG_OLDORIGFILENAMES
See Also:
Constant Field Values

RPMTAG_BUILDPREREQ

public static final int RPMTAG_BUILDPREREQ
See Also:
Constant Field Values

RPMTAG_BUILDREQUIRES

public static final int RPMTAG_BUILDREQUIRES
See Also:
Constant Field Values

RPMTAG_BUILDCONFLICTS

public static final int RPMTAG_BUILDCONFLICTS
See Also:
Constant Field Values

RPMTAG_BUILDMACROS

public static final int RPMTAG_BUILDMACROS
See Also:
Constant Field Values

RPMTAG_PROVIDEFLAGS

public static final int RPMTAG_PROVIDEFLAGS
See Also:
Constant Field Values

RPMTAG_PROVIDEVERSION

public static final int RPMTAG_PROVIDEVERSION
See Also:
Constant Field Values

RPMTAG_OBSOLETEFLAGS

public static final int RPMTAG_OBSOLETEFLAGS
See Also:
Constant Field Values

RPMTAG_OBSOLETEVERSION

public static final int RPMTAG_OBSOLETEVERSION
See Also:
Constant Field Values

RPMTAG_DIRINDEXES

public static final int RPMTAG_DIRINDEXES
See Also:
Constant Field Values

RPMTAG_BASENAMES

public static final int RPMTAG_BASENAMES
See Also:
Constant Field Values

RPMTAG_DIRNAMES

public static final int RPMTAG_DIRNAMES
See Also:
Constant Field Values

RPMTAG_ORIGDIRINDEXES

public static final int RPMTAG_ORIGDIRINDEXES
See Also:
Constant Field Values

RPMTAG_ORIGBASENAMES

public static final int RPMTAG_ORIGBASENAMES
See Also:
Constant Field Values

RPMTAG_ORIGDIRNAMES

public static final int RPMTAG_ORIGDIRNAMES
See Also:
Constant Field Values

RPMTAG_OPTFLAGS

public static final int RPMTAG_OPTFLAGS
See Also:
Constant Field Values

RPMTAG_DISTURL

public static final int RPMTAG_DISTURL
See Also:
Constant Field Values

RPMTAG_PAYLOADFORMAT

public static final int RPMTAG_PAYLOADFORMAT
See Also:
Constant Field Values

RPMTAG_PAYLOADCOMPRESSOR

public static final int RPMTAG_PAYLOADCOMPRESSOR
See Also:
Constant Field Values

RPMTAG_PAYLOADFLAGS

public static final int RPMTAG_PAYLOADFLAGS
See Also:
Constant Field Values

RPMTAG_MULTILIBS

public static final int RPMTAG_MULTILIBS
See Also:
Constant Field Values

RPMTAG_INSTALLTID

public static final int RPMTAG_INSTALLTID
See Also:
Constant Field Values

RPMTAG_REMOVETID

public static final int RPMTAG_REMOVETID
See Also:
Constant Field Values

RPMTAG_SHA1RHN

public static final int RPMTAG_SHA1RHN
See Also:
Constant Field Values

RPMTAG_RHNPLATFORM

public static final int RPMTAG_RHNPLATFORM
See Also:
Constant Field Values

RPMTAG_PLATFORM

public static final int RPMTAG_PLATFORM
See Also:
Constant Field Values

RPMTAG_PATCHESNAME

public static final int RPMTAG_PATCHESNAME
See Also:
Constant Field Values

RPMTAG_PATCHESFLAGS

public static final int RPMTAG_PATCHESFLAGS
See Also:
Constant Field Values

RPMTAG_PATCHESVERSION

public static final int RPMTAG_PATCHESVERSION
See Also:
Constant Field Values

RPMTAG_CACHECTIME

public static final int RPMTAG_CACHECTIME
See Also:
Constant Field Values

RPMTAG_CACHEPKGPATH

public static final int RPMTAG_CACHEPKGPATH
See Also:
Constant Field Values

RPMTAG_CACHEPKGSIZE

public static final int RPMTAG_CACHEPKGSIZE
See Also:
Constant Field Values

RPMTAG_CACHEPKGMTIME

public static final int RPMTAG_CACHEPKGMTIME
See Also:
Constant Field Values

RPMTAG_FILECOLORS

public static final int RPMTAG_FILECOLORS
See Also:
Constant Field Values

RPMTAG_FILECLASS

public static final int RPMTAG_FILECLASS
See Also:
Constant Field Values

RPMTAG_CLASSDICT

public static final int RPMTAG_CLASSDICT
See Also:
Constant Field Values

RPMTAG_FILEDEPENDSX

public static final int RPMTAG_FILEDEPENDSX
See Also:
Constant Field Values

RPMTAG_FILEDEPENDSN

public static final int RPMTAG_FILEDEPENDSN
See Also:
Constant Field Values

RPMTAG_DEPENDSDICT

public static final int RPMTAG_DEPENDSDICT
See Also:
Constant Field Values

RPMTAG_SOURCEPKGID

public static final int RPMTAG_SOURCEPKGID
See Also:
Constant Field Values

RPMTAG_FILECONTEXTS

public static final int RPMTAG_FILECONTEXTS
See Also:
Constant Field Values

RPMTAG_FSCONTEXTS

public static final int RPMTAG_FSCONTEXTS
See Also:
Constant Field Values

RPMTAG_RECONTEXTS

public static final int RPMTAG_RECONTEXTS
See Also:
Constant Field Values

RPMTAG_POLICIES

public static final int RPMTAG_POLICIES
See Also:
Constant Field Values

RPMTAG_PRETRANS

public static final int RPMTAG_PRETRANS
See Also:
Constant Field Values

RPMTAG_POSTTRANS

public static final int RPMTAG_POSTTRANS
See Also:
Constant Field Values

RPMTAG_PRETRANSPROG

public static final int RPMTAG_PRETRANSPROG
See Also:
Constant Field Values

RPMTAG_POSTTRANSPROG

public static final int RPMTAG_POSTTRANSPROG
See Also:
Constant Field Values

RPMTAG_DISTTAG

public static final int RPMTAG_DISTTAG
See Also:
Constant Field Values

RPMTAG_SUGGESTSNAME

public static final int RPMTAG_SUGGESTSNAME
See Also:
Constant Field Values

RPMTAG_SUGGESTSVERSION

public static final int RPMTAG_SUGGESTSVERSION
See Also:
Constant Field Values

RPMTAG_SUGGESTSFLAGS

public static final int RPMTAG_SUGGESTSFLAGS
See Also:
Constant Field Values

RPMTAG_ENHANCESNAME

public static final int RPMTAG_ENHANCESNAME
See Also:
Constant Field Values

RPMTAG_ENHANCESVERSION

public static final int RPMTAG_ENHANCESVERSION
See Also:
Constant Field Values

RPMTAG_ENHANCESFLAGS

public static final int RPMTAG_ENHANCESFLAGS
See Also:
Constant Field Values

RPMTAG_PRIORITY

public static final int RPMTAG_PRIORITY
See Also:
Constant Field Values

RPMTAG_CVSID

public static final int RPMTAG_CVSID
See Also:
Constant Field Values

RPMSIGTAG_NAMES

public final java.lang.String[] RPMSIGTAG_NAMES

RPMTAG_NAMES

public final java.lang.String[] RPMTAG_NAMES

TYPE_CHAR

public static final int TYPE_CHAR
Enumeration of property type values.

See Also:
Constant Field Values

TYPE_INT8

public static final int TYPE_INT8
See Also:
Constant Field Values

TYPE_INT16

public static final int TYPE_INT16
See Also:
Constant Field Values

TYPE_INT32

public static final int TYPE_INT32
See Also:
Constant Field Values

TYPE_INT64

public static final int TYPE_INT64
See Also:
Constant Field Values

TYPE_STRING

public static final int TYPE_STRING
See Also:
Constant Field Values

TYPE_BIN

public static final int TYPE_BIN
See Also:
Constant Field Values

TYPE_STRING_ARRAY

public static final int TYPE_STRING_ARRAY
See Also:
Constant Field Values

TYPE_I18NSTRING

public static final int TYPE_I18NSTRING
See Also:
Constant Field Values

TYPE_NAMES

public final java.lang.String[] TYPE_NAMES
Constructor Detail

RpmPackage.RpmProperty

public RpmPackage.RpmProperty(int tag,
                              int type,
                              byte[] value)
Instantiates a RpmProperty with the enclosed values.

Parameters:
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

getTag

public int getTag()
Returns the property tag. See value enumeration below.


getTagAsString

public java.lang.String getTagAsString(boolean signatureTag)
A convenience function that returns a text name for the tag.


getType

public int getType()
Returns the property type. See value enumeration below.


getTypeAsString

public java.lang.String getTypeAsString()
A convenience function that returns a text name for the type.


getValue

public byte[] getValue()
Returns the property value. The number and interpretation depends on the property type.


getValueAsString

public java.lang.String getValueAsString()
Returns the property value in string form. Returns integers as an integer image, strings as is, and string arrays as one long, newline- separated string.