public enum BabelImageSource extends Enum<BabelImageSource>
Enum Constant and Description |
---|
BABELNET
BabelNet image
|
BABELPIC_GOLD
BabelPic gold image
|
BABELPIC_SILVER
BabelPic silver image
|
IMAGENET
imageNet image
|
OMWIKI
OmegaWiki image
|
WIKI
Wikipedia image
|
WIKIDATA
Wikidata image
|
Modifier and Type | Method and Description |
---|---|
static BabelLicense |
getLicense(BabelImageSource source)
Returns the license for a given image source
|
static BabelImageSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BabelImageSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BabelImageSource BABELNET
public static final BabelImageSource OMWIKI
public static final BabelImageSource WIKI
public static final BabelImageSource IMAGENET
public static final BabelImageSource WIKIDATA
public static final BabelImageSource BABELPIC_GOLD
public static final BabelImageSource BABELPIC_SILVER
public static BabelImageSource[] values()
for (BabelImageSource c : BabelImageSource.values()) System.out.println(c);
public static BabelImageSource 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 static BabelLicense getLicense(BabelImageSource source)
source
- image sourceBabelLicense
for the image sourceCopyright © 2016–2021. All rights reserved.