public enum BabelLicense extends Enum<BabelLicense>
Enum Constant and Description |
---|
APACHE_20
Apache 2.0 License
|
CC_BY_30
Creative Commons Attribution 3.0 License
|
CC_BY_NC_SA_30
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License
|
CC_BY_SA_30
Creative Commons Attribution-ShareAlike 3.0 License
|
CC_BY_SA_40
Creative Commons Attribution-ShareAlike 4.0 International
|
CECILL_C
CeCILL-C free software license agreement
|
GFDL_12
GFDL 1.2 license
|
MIT
MIT license
|
MLP
Microsoft language portal materials license
|
ODC_BY_10
ODC-BY 1.0 license
|
OTHER
Items without specific licenses.
|
UNRESTRICTED
All the permissive licenses without specific restrictions
|
WORDNET
WordNet license
|
Modifier and Type | Method and Description |
---|---|
static Optional<BabelLicense> |
getLongName(String stringName)
Deprecated.
For removal in the next release
|
String |
getShortName()
Returns the short name for this license
|
static BabelLicense |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BabelLicense[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BabelLicense UNRESTRICTED
public static final BabelLicense CC_BY_SA_30
public static final BabelLicense CC_BY_SA_40
public static final BabelLicense CC_BY_30
public static final BabelLicense CECILL_C
public static final BabelLicense APACHE_20
public static final BabelLicense CC_BY_NC_SA_30
public static final BabelLicense MLP
public static final BabelLicense OTHER
public static final BabelLicense WORDNET
public static final BabelLicense MIT
public static final BabelLicense ODC_BY_10
public static final BabelLicense GFDL_12
public static BabelLicense[] values()
for (BabelLicense c : BabelLicense.values()) System.out.println(c);
public static BabelLicense 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 getShortName()
@Deprecated public static Optional<BabelLicense> getLongName(String stringName)
stringName
- the license stringCopyright © 2016–2018. All rights reserved.