slib.sglib.io.util
Enum GFormat
java.lang.Object
java.lang.Enum<GFormat>
slib.sglib.io.util.GFormat
- All Implemented Interfaces:
- Serializable, Comparable<GFormat>
public enum GFormat
- extends Enum<GFormat>
- Author:
- seb
Method Summary |
static GFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
OBO
public static final GFormat OBO
GAF2
public static final GFormat GAF2
RDF_XML
public static final GFormat RDF_XML
NTRIPLES
public static final GFormat NTRIPLES
WORDNET_DATA
public static final GFormat WORDNET_DATA
MESH_XML
public static final GFormat MESH_XML
SNOMED_CT_RF2
public static final GFormat SNOMED_CT_RF2
CSV
public static final GFormat CSV
SLIB
public static final GFormat SLIB
TURTLE
public static final GFormat TURTLE
values
public static GFormat[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GFormat c : GFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GFormat valueOf(String name)
- 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 name
NullPointerException
- if the argument is null
Copyright © 2013. All Rights Reserved.