Package org.corpus_tools.graphannis
Enum CorpusStorageManager.ImportFormat
- java.lang.Object
-
- java.lang.Enum<CorpusStorageManager.ImportFormat>
-
- org.corpus_tools.graphannis.CorpusStorageManager.ImportFormat
-
- All Implemented Interfaces:
Serializable,Comparable<CorpusStorageManager.ImportFormat>
- Enclosing class:
- CorpusStorageManager
public static enum CorpusStorageManager.ImportFormat extends Enum<CorpusStorageManager.ImportFormat>
An enum of all supported input formats of graphANNIS.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GraphML[GraphML](http://graphml.graphdrawing.org/) based export-format, suitable to be imported from other graph databases.RelANNISLegacy relANNIS import file format
-
Field Summary
Fields Modifier and Type Field Description protected intcapiVal
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CorpusStorageManager.ImportFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static CorpusStorageManager.ImportFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RelANNIS
public static final CorpusStorageManager.ImportFormat RelANNIS
Legacy relANNIS import file format
-
GraphML
public static final CorpusStorageManager.ImportFormat GraphML
[GraphML](http://graphml.graphdrawing.org/) based export-format, suitable to be imported from other graph databases. This format follows the extensions/conventions of the Neo4j [GraphML module](https://neo4j.com/docs/labs/apoc/current/import/graphml/).
-
-
Method Detail
-
values
public static CorpusStorageManager.ImportFormat[] 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 (CorpusStorageManager.ImportFormat c : CorpusStorageManager.ImportFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CorpusStorageManager.ImportFormat 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 nameNullPointerException- if the argument is null
-
-