public final class GwtVersion extends Object implements Comparable<GwtVersion>
Constructor and Description |
---|
GwtVersion()
Create a version that avoids any nagging -- "0.0.999".
|
GwtVersion(String versionString)
Parse a version number as a string.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GwtVersion other) |
boolean |
equals(Object o) |
int[] |
getComponents() |
String |
getSuffix() |
int |
hashCode() |
boolean |
isNoNagVersion() |
String |
toString() |
$isInstance
public GwtVersion()
public GwtVersion(String versionString) throws NumberFormatException
Acceptable format:
The returned version always contains at least 3 components (padding with "0" to 3 components) followed by a release number (which is always last).
versionString
- GWT version in string form, ex: "2.1.0-rc2"NumberFormatException
public int compareTo(GwtVersion other)
compareTo
in interface Comparable<GwtVersion>
public int[] getComponents()
public String getSuffix()
public boolean isNoNagVersion()
Copyright © 2018. All rights reserved.