From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../fml/common/versioning/ArtifactVersion.html | 261 +++++++++++ .../fml/common/versioning/ComparableVersion.html | 351 +++++++++++++++ .../common/versioning/DefaultArtifactVersion.html | 420 ++++++++++++++++++ .../InvalidVersionSpecificationException.html | 249 +++++++++++ .../mods/fml/common/versioning/Restriction.html | 400 +++++++++++++++++ .../mods/fml/common/versioning/VersionParser.html | 289 +++++++++++++ .../mods/fml/common/versioning/VersionRange.html | 479 +++++++++++++++++++++ .../mods/fml/common/versioning/package-frame.html | 31 ++ .../fml/common/versioning/package-summary.html | 192 +++++++++ .../mods/fml/common/versioning/package-tree.html | 147 +++++++ 10 files changed, 2819 insertions(+) create mode 100644 javadoc/cpw/mods/fml/common/versioning/ArtifactVersion.html create mode 100644 javadoc/cpw/mods/fml/common/versioning/ComparableVersion.html create mode 100644 javadoc/cpw/mods/fml/common/versioning/DefaultArtifactVersion.html create mode 100644 javadoc/cpw/mods/fml/common/versioning/InvalidVersionSpecificationException.html create mode 100644 javadoc/cpw/mods/fml/common/versioning/Restriction.html create mode 100644 javadoc/cpw/mods/fml/common/versioning/VersionParser.html create mode 100644 javadoc/cpw/mods/fml/common/versioning/VersionRange.html create mode 100644 javadoc/cpw/mods/fml/common/versioning/package-frame.html create mode 100644 javadoc/cpw/mods/fml/common/versioning/package-summary.html create mode 100644 javadoc/cpw/mods/fml/common/versioning/package-tree.html (limited to 'javadoc/cpw/mods/fml/common/versioning') diff --git a/javadoc/cpw/mods/fml/common/versioning/ArtifactVersion.html b/javadoc/cpw/mods/fml/common/versioning/ArtifactVersion.html new file mode 100644 index 0000000..97c41f7 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/ArtifactVersion.html @@ -0,0 +1,261 @@ + + + + + +ArtifactVersion (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.versioning
+

Interface ArtifactVersion

+
+
+
+
    +
  • +
    +
    All Superinterfaces:
    +
    java.lang.Comparable<ArtifactVersion>
    +
    +
    +
    All Known Implementing Classes:
    +
    DefaultArtifactVersion
    +
    +
    +
    +
    public interface ArtifactVersion
    +extends java.lang.Comparable<ArtifactVersion>
    +
    Describes an artifact version in terms of its components, converts it to/from a string and + compares two versions.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getLabel

        +
        java.lang.String getLabel()
        +
      • +
      + + + +
        +
      • +

        getVersionString

        +
        java.lang.String getVersionString()
        +
      • +
      + + + + + + + +
        +
      • +

        getRangeString

        +
        java.lang.String getRangeString()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/common/versioning/ComparableVersion.html b/javadoc/cpw/mods/fml/common/versioning/ComparableVersion.html new file mode 100644 index 0000000..e3461ae --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/ComparableVersion.html @@ -0,0 +1,351 @@ + + + + + +ComparableVersion (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.versioning
+

Class ComparableVersion

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.lang.Comparable<ComparableVersion>
    +
    +
    +
    +
    public class ComparableVersion
    +extends java.lang.Object
    +implements java.lang.Comparable<ComparableVersion>
    +
    Generic implementation of version comparison. + +

    Features: +

      +
    • mixing of '-' (dash) and '.' (dot) separators,
    • +
    • transition between characters and digits also constitutes a separator: + 1.0alpha1 => [1, 0, alpha, 1]
    • +
    • unlimited number of version components,
    • +
    • version components in the text can be digits or strings,
    • +
    • strings are checked for well-known qualifiers and the qualifier ordering is used for version ordering. + Well-known qualifiers (case insensitive) are:
        +
      • snapshot
      • +
      • alpha or a
      • +
      • beta or b
      • +
      • milestone or m
      • +
      • rc or cr
      • +
      • (the empty string) or ga or final
      • +
      • sp
      • +
      + Unknown qualifiers are considered after known qualifiers, with lexical order (always case insensitive), +
    • +
    • a dash usually precedes a qualifier, and is always less important than something preceded with a dot.
    • +

    +
    See Also:
    "Versioning" on Maven Wiki
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ComparableVersion(java.lang.String version) 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      intcompareTo(ComparableVersion o) 
      booleanequals(java.lang.Object o) 
      inthashCode() 
      voidparseVersion(java.lang.String version) 
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ComparableVersion

        +
        public ComparableVersion(java.lang.String version)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parseVersion

        +
        public final void parseVersion(java.lang.String version)
        +
      • +
      + + + + + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object o)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/common/versioning/DefaultArtifactVersion.html b/javadoc/cpw/mods/fml/common/versioning/DefaultArtifactVersion.html new file mode 100644 index 0000000..8e4308f --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/DefaultArtifactVersion.html @@ -0,0 +1,420 @@ + + + + + +DefaultArtifactVersion (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.versioning
+

Class DefaultArtifactVersion

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        DefaultArtifactVersion

        +
        public DefaultArtifactVersion(java.lang.String versionNumber)
        +
      • +
      + + + +
        +
      • +

        DefaultArtifactVersion

        +
        public DefaultArtifactVersion(java.lang.String label,
        +                      VersionRange range)
        +
      • +
      + + + +
        +
      • +

        DefaultArtifactVersion

        +
        public DefaultArtifactVersion(java.lang.String label,
        +                      java.lang.String version)
        +
      • +
      + + + +
        +
      • +

        DefaultArtifactVersion

        +
        public DefaultArtifactVersion(java.lang.String string,
        +                      boolean unbounded)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object obj)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/common/versioning/InvalidVersionSpecificationException.html b/javadoc/cpw/mods/fml/common/versioning/InvalidVersionSpecificationException.html new file mode 100644 index 0000000..4b82336 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/InvalidVersionSpecificationException.html @@ -0,0 +1,249 @@ + + + + + +InvalidVersionSpecificationException (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.versioning
+

Class InvalidVersionSpecificationException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    +
    public class InvalidVersionSpecificationException
    +extends java.lang.Exception
    +
    Occurs when a version is invalid.
    +
    See Also:
    Serialized Form
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      +
        +
      • + + +

        Methods inherited from class java.lang.Throwable

        +addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        InvalidVersionSpecificationException

        +
        public InvalidVersionSpecificationException(java.lang.String message)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/common/versioning/Restriction.html b/javadoc/cpw/mods/fml/common/versioning/Restriction.html new file mode 100644 index 0000000..808a953 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/Restriction.html @@ -0,0 +1,400 @@ + + + + + +Restriction (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.versioning
+

Class Restriction

+
+
+ +
+
    +
  • +
    +
    +
    public class Restriction
    +extends java.lang.Object
    +
    Describes a restriction in versioning.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        EVERYTHING

        +
        public static final Restriction EVERYTHING
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Restriction

        +
        public Restriction(ArtifactVersion lowerBound,
        +           boolean lowerBoundInclusive,
        +           ArtifactVersion upperBound,
        +           boolean upperBoundInclusive)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        isLowerBoundInclusive

        +
        public boolean isLowerBoundInclusive()
        +
      • +
      + + + + + + + +
        +
      • +

        isUpperBoundInclusive

        +
        public boolean isUpperBoundInclusive()
        +
      • +
      + + + +
        +
      • +

        containsVersion

        +
        public boolean containsVersion(ArtifactVersion version)
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object other)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/common/versioning/VersionParser.html b/javadoc/cpw/mods/fml/common/versioning/VersionParser.html new file mode 100644 index 0000000..1abf5a8 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/VersionParser.html @@ -0,0 +1,289 @@ + + + + + +VersionParser (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.versioning
+

Class 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 Detail

      + + + +
        +
      • +

        VersionParser

        +
        public VersionParser()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/common/versioning/VersionRange.html b/javadoc/cpw/mods/fml/common/versioning/VersionRange.html new file mode 100644 index 0000000..c6600c1 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/VersionRange.html @@ -0,0 +1,479 @@ + + + + + +VersionRange (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.versioning
+

Class VersionRange

+
+
+ +
+
    +
  • +
    +
    +
    public class VersionRange
    +extends java.lang.Object
    +
    Construct a version range from a specification.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRecommendedVersion

        +
        public ArtifactVersion getRecommendedVersion()
        +
      • +
      + + + +
        +
      • +

        getRestrictions

        +
        public java.util.List<Restriction> getRestrictions()
        +
      • +
      + + + + + + + +
        +
      • +

        newRange

        +
        public static VersionRange newRange(ArtifactVersion version,
        +                    java.util.List<Restriction> restrictions)
        +
        Factory method, for custom versioning schemes
        +
        Parameters:
        version - version
        restrictions - restriction list
        +
        Returns:
        a new version range
        +
      • +
      + + + +
        +
      • +

        createFromVersionSpec

        +
        public static VersionRange createFromVersionSpec(java.lang.String spec)
        +                                          throws InvalidVersionSpecificationException
        +
        Create a version range from a string representation +

        + Some spec examples are +

          +
        • 1.0 Version 1.0
        • +
        • [1.0,2.0) Versions 1.0 (included) to 2.0 (not included)
        • +
        • [1.0,2.0] Versions 1.0 to 2.0 (both included)
        • +
        • [1.5,) Versions 1.5 and higher
        • +
        • (,1.0],[1.2,) Versions up to 1.0 (included) and 1.2 or higher
        • +
        +
        Parameters:
        spec - string representation of a version or version range
        +
        Returns:
        a new VersionRange object that represents the spec
        +
        Throws:
        +
        InvalidVersionSpecificationException
        +
      • +
      + + + + + + + +
        +
      • +

        restrict

        +
        public VersionRange restrict(VersionRange restriction)
        +
        Creates and returns a new VersionRange that is a restriction of this + version range and the specified version range. +

        + Note: Precedence is given to the recommended version from this version range over the + recommended version from the specified version range. +

        +
        Parameters:
        restriction - the VersionRange that will be used to restrict this version + range.
        +
        Returns:
        the VersionRange that is a restriction of this version range and the + specified version range. +

        + The restrictions of the returned version range will be an intersection of the restrictions + of this version range and the specified version range if both version ranges have + restrictions. Otherwise, the restrictions on the returned range will be empty. +

        +

        + The recommended version of the returned version range will be the recommended version of + this version range, provided that ranges falls within the intersected restrictions. If + the restrictions are empty, this version range's recommended version is used if it is not + null. If it is null, the specified version range's recommended + version is used (provided it is non-null). If no recommended version can be + obtained, the returned version range's recommended version is set to null. +

        +
        Throws:
        +
        java.lang.NullPointerException - if the specified VersionRange is + null.
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + + + + + +
        +
      • +

        containsVersion

        +
        public boolean containsVersion(ArtifactVersion version)
        +
      • +
      + + + +
        +
      • +

        hasRestrictions

        +
        public boolean hasRestrictions()
        +
      • +
      + + + +
        +
      • +

        equals

        +
        public boolean equals(java.lang.Object obj)
        +
        +
        Overrides:
        +
        equals in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hashCode

        +
        public int hashCode()
        +
        +
        Overrides:
        +
        hashCode in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        isUnboundedAbove

        +
        public boolean isUnboundedAbove()
        +
      • +
      + + + +
        +
      • +

        getLowerBoundString

        +
        public java.lang.String getLowerBoundString()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/common/versioning/package-frame.html b/javadoc/cpw/mods/fml/common/versioning/package-frame.html new file mode 100644 index 0000000..521070d --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/package-frame.html @@ -0,0 +1,31 @@ + + + + + +cpw.mods.fml.common.versioning (Forge API) + + + + +

cpw.mods.fml.common.versioning

+
+

Interfaces

+ +

Classes

+ +

Exceptions

+ +
+ + diff --git a/javadoc/cpw/mods/fml/common/versioning/package-summary.html b/javadoc/cpw/mods/fml/common/versioning/package-summary.html new file mode 100644 index 0000000..08d3e40 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/package-summary.html @@ -0,0 +1,192 @@ + + + + + +cpw.mods.fml.common.versioning (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Package cpw.mods.fml.common.versioning

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/common/versioning/package-tree.html b/javadoc/cpw/mods/fml/common/versioning/package-tree.html new file mode 100644 index 0000000..aaaf832 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/versioning/package-tree.html @@ -0,0 +1,147 @@ + + + + + +cpw.mods.fml.common.versioning Class Hierarchy (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package cpw.mods.fml.common.versioning

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + +
+ + + + -- cgit v1.2.3