public enum BabelVersion extends Enum<BabelVersion> implements Version
| Enum Constant and Description |
|---|
LIVE |
PRE_2_0 |
UNKNOWN |
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 |
| Modifier and Type | Method and Description |
|---|---|
static BabelVersion |
getLatestVersion()
Returns the latest version of BabelNet
|
LocalDate |
getReleaseDate()
Returns the release date of the version
|
String |
toString()
Returns the version string
|
static BabelVersion |
valueOf(String name)
Returns 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.
|
public static final BabelVersion UNKNOWN
public static final BabelVersion PRE_2_0
public static final BabelVersion V2_0
public static final BabelVersion V2_0_1
public static final BabelVersion V2_5
public static final BabelVersion V2_5_1
public static final BabelVersion V3_0
public static final BabelVersion V3_1
public static final BabelVersion V3_5
public static final BabelVersion V3_6
public static final BabelVersion V3_7
public static final BabelVersion V4_0
public static final BabelVersion V5_0
public static final BabelVersion V5_1
public static final BabelVersion V5_2
public static final BabelVersion LIVE
public static BabelVersion[] values()
for (BabelVersion c : BabelVersion.values()) System.out.println(c);
public static BabelVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
VersiontoString in interface VersiontoString in class Enum<BabelVersion>public LocalDate getReleaseDate()
VersiongetReleaseDate in interface Versionpublic static BabelVersion getLatestVersion()
Copyright © 2016–2022. All rights reserved.