|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VersionScheme
A version scheme that handles interpretation of version strings to facilitate their comparison.
| Method Summary | |
|---|---|
Version |
parseVersion(java.lang.String version)
Parses the specified version string, for example "1.0". |
VersionConstraint |
parseVersionConstraint(java.lang.String constraint)
Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0),(2.0,)". |
VersionRange |
parseVersionRange(java.lang.String range)
Parses the specified version range specification, for example "[1.0,2.0)". |
| Method Detail |
|---|
Version parseVersion(java.lang.String version)
throws InvalidVersionSpecificationException
version - The version string to parse, must not be null.
null.
InvalidVersionSpecificationException - If the string violates the syntax rules of this scheme.
VersionRange parseVersionRange(java.lang.String range)
throws InvalidVersionSpecificationException
range - The range specification to parse, must not be null.
null.
InvalidVersionSpecificationException - If the range specification violates the syntax rules of this scheme.
VersionConstraint parseVersionConstraint(java.lang.String constraint)
throws InvalidVersionSpecificationException
constraint - The constraint specification to parse, must not be null.
null.
InvalidVersionSpecificationException - If the constraint specification violates the syntax rules of this
scheme.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||