public class RpmVersion extends Version
RpmVersion(String)
RpmVersion(String, String, boolean)
Constructor and Description |
---|
RpmVersion() |
RpmVersion(String rpmName)
Supports RPM format by spec: <name>-<version>-<release>.<architecture>.rpm
|
RpmVersion(String rpmName,
String namePrefix,
boolean ignoreCaseSensitive)
Support RPM version extraction where a given prefix is omitted from the RPM name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getRpmName() |
int |
hashCode() |
void |
setRpmName(String rpmName) |
compareTo, getBuild, getMajor, getMinor, getRevision, getValue, OpEquality, OpInequality, setValue, toString, toString
public RpmVersion()
public RpmVersion(String rpmName)
rpmName
- the RPM namepublic RpmVersion(String rpmName, String namePrefix, boolean ignoreCaseSensitive)
rpmName
- the full RPM namenamePrefix
- a prefix which is part of the RPM name and should ignored (case insensitive) while extracting the
versionignoreCaseSensitive
- an indicator whether to ignore the case of the given prefix, if known aheadCopyright © 2012. All Rights Reserved.