public class Version extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Version>
public static final Version SNAPSHOT
public Version(int[] components,
java.lang.String qualifier)
components - the numeric components of the version; may be null for SNAPSHOT versionqualifier - the qualifierpublic Version(java.lang.String versionString)
throws java.text.ParseException
integer ( "." integer )* ( "-" qualifier )?
versionString - the string representation of the versionjava.text.ParseException - if the version is not in the correct formatCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.