public interface VersionScheme
| Modifier and Type | Method and Description |
|---|---|
Version |
parseVersion(String version)
Parses the specified version string, for example "1.0".
|
VersionConstraint |
parseVersionConstraint(String constraint)
Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0),(2.0,)".
|
VersionRange |
parseVersionRange(String range)
Parses the specified version range specification, for example "[1.0,2.0)".
|
Version parseVersion(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(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(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.Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.