cpw.mods.fml.common.versioning

## Class VersionParser

- java.lang.Object
- - cpw.mods.fml.common.versioning.VersionParser

-     public class VersionParser
      extends java.lang.Object

  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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VersionParser()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static VersionRange` | `parseRange(java.lang.String range)`
    `static ArtifactVersion` | `parseVersionReference(java.lang.String labelledRef)`
    `static boolean` | `satisfies(ArtifactVersion target, ArtifactVersion source)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### VersionParser

          public VersionParser()

  - ### Method Detail

    - #### parseVersionReference

          public static ArtifactVersion parseVersionReference(java.lang.String labelledRef)

    - #### satisfies

          public static boolean satisfies(ArtifactVersion target,
                          ArtifactVersion source)

    - #### parseRange

          public static VersionRange parseRange(java.lang.String range)