| Home >> All >> com >> jguild >> jrpm |
Package Samples:
com.jguild.jrpm.io.datatype: Allows to read and write rpm package files.
com.jguild.jrpm.database
com.jguild.jrpm.io.archive
com.jguild.jrpm.io.constant
com.jguild.jrpm.io
com.jguild.jrpm.tools
com.jguild.jrpm.ui
com.jguild.jrpm.test
Classes:
StreamGobbler: This class reads an input stream in an extra thread. This is used for running external programms out of java so that stdout and stderr are not blocking the process from work. If the stream is closed by Runtime the gobbler will also die. Usage: Process proc = Runtime.getRuntime().exec(command); // any error message? StreamGobbler errorGobbler = new StreamGobbler(rpmProc.getErrorStream(), System.err); // any output? StreamGobbler outputGobbler = new StreamGobbler(rpmProc.getInputStream(), System.out); // kick them off errorGobbler.start(); outputGobbler.start();
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]; } ;
IndexEntry: RPM Index Entry (16 byte). tag; what the data is for (4 bytes) type; what type of data is stored (see RPMFileType.java) (4 bytes) offset; where to the data begins (4 bytes) count; how much data of the type is there (4 bytes)
Header: This class represents the abstract definition of a header structur. It can be either a signature or a header. The tags of such a structure can be accessed by either their tag id or by their tag name. Also all available and all read tag names in this structure can be accessed.
RPMBrowser: A browser to search for rpm files in a given directory. The rpms are schown in a tree. The tree display the in rpm defined groups. So every rpm that point to the same group are sorted into the same node in the tree. This browser should demonstrate the functionality of jRPM.
RPMSense: Bit flags for dependency fields. (e.g. RPMHeaderTag.REQUIRE_FLAGS, RPMHeaderTag.CONFLICT_FLAGS)
NativeRPMTest: Test case to compare jRPM against an installed instance of rpm.
INT16: A representation of a rpm 16 byte integer array data object
INT32: A representation of a rpm 32 byte integer array data object
INT64: A representation of a rpm 64 byte integer array data object
INT8: A representation of a rpm 8 byte integer array data object
BIN: A representation of a rpm binary array data object
STRING_ARRAY: A representation of a rpm string array data object
I18NSTRING: A representation of a rpm I18N string data object
CHAR: A representation of a rpm char array data object
NULL: A representation of a rpm null array data object
RPMFileAttr: File attributes. (e.g. RPMHeaderTag.FILEFLAGS)
STRING: A representation of a rpm string data object
RPMFile: This class allows IO access to an RPM file.
DataTypeIf: Global interface for all RPM data types
RPMTask: Ant task used to create RPM packages.
RPMDb: Main class to start a RPM database.
CPIOPayloadArchive: Allows to read/write CPIO archives.
PayloadArchive: Interface for RPM payload archives
| Home | Contact Us | Privacy Policy | Terms of Service |