Enum BabelVersion
- All Implemented Interfaces:
Version, Serializable, Comparable<BabelVersion>, java.lang.constant.Constable
BabelNet version enumeration.
- Author:
- navigli
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic BabelVersionReturns the latest version of BabelNetReturns the release date of the versiontoString()Returns the version stringstatic BabelVersionReturns the enum constant of this type with the specified name.static BabelVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
PRE_2_0
-
V2_0
-
V2_0_1
-
V2_5
-
V2_5_1
-
V3_0
-
V3_1
-
V3_5
-
V3_6
-
V3_7
-
V4_0
-
V5_0
-
V5_1
-
V5_2
-
V5_3
-
V6_0
-
LIVE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
-
getReleaseDate
Description copied from interface:VersionReturns the release date of the version- Specified by:
getReleaseDatein interfaceVersion- Returns:
- release date
-
getLatestVersion
Returns the latest version of BabelNet- Returns:
- latest version of BabelNet
-