YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
cpw.mods.fml.common.versioning.VersionParser Class Reference

Static Public Member Functions

static ArtifactVersion parseVersionReference (String labelledRef)
 
static boolean satisfies (ArtifactVersion target, ArtifactVersion source)
 
static VersionRange parseRange (String range)
 

Detailed Description

Parses version strings according to the specification here: http://docs.codehaus.org/display/MAVEN/Versioning and allows for comparison of versions based on that document. Bounded version specifications are defined as http://maven.apache.org/plugins/maven-enforcer-plugin/rules/versionRanges.html

Borrows heavily from maven version range management code

Author
cpw

Member Function Documentation

static VersionRange cpw.mods.fml.common.versioning.VersionParser.parseRange ( String  range)
static
static ArtifactVersion cpw.mods.fml.common.versioning.VersionParser.parseVersionReference ( String  labelledRef)
static
static boolean cpw.mods.fml.common.versioning.VersionParser.satisfies ( ArtifactVersion  target,
ArtifactVersion  source 
)
static

The documentation for this class was generated from the following file: