|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.threerings.jpkg.debian.PackageVersion
public class PackageVersion
Holds and parses the Debian package version.
Constructor Summary | |
---|---|
PackageVersion(String upstream_version)
Construct a fully populated PackageVersion object with the "upstream_version" field set to the supplied value. |
|
PackageVersion(String upstream_version,
String debian_version,
int epoch)
Construct a fully populated PackageVersion object with the "upstream_version", "debian_version", and "epoch" set. |
Method Summary | |
---|---|
String |
getField()
Returns the field of the Debian control file this data belongs in. |
String |
getFieldValue()
Returns the data in this class formatted for the Debian control file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageVersion(String upstream_version) throws ControlDataInvalidException
ControlDataInvalidException
public PackageVersion(String upstream_version, String debian_version, int epoch) throws ControlDataInvalidException
ControlDataInvalidException
Method Detail |
---|
public String getField()
ControlFileData
getField
in interface ControlFileData
public String getFieldValue()
ControlFileData
getFieldValue
in interface ControlFileData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |