Package org.corpus_tools.graphannis
Enum CorpusStorageManager.ExportFormat
- java.lang.Object
-
- java.lang.Enum<CorpusStorageManager.ExportFormat>
-
- org.corpus_tools.graphannis.CorpusStorageManager.ExportFormat
-
- All Implemented Interfaces:
Serializable,Comparable<CorpusStorageManager.ExportFormat>
- Enclosing class:
- CorpusStorageManager
public static enum CorpusStorageManager.ExportFormat extends Enum<CorpusStorageManager.ExportFormat>
An enum of all supported exort formats of graphANNIS.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GraphMLDirectoryLikeGrapMLbut using a directory with multiple GraphML files, each for one corpus.GraphMLZipLikeGrapMLbut compressed as ZIP file.GrapMLGraphML based export-format, suitable to be imported into other graph databases.
-
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.ExportFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static CorpusStorageManager.ExportFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GrapML
public static final CorpusStorageManager.ExportFormat GrapML
GraphML based export-format, suitable to be imported into other graph databases.This format follows the extensions/conventions of the Neo4j GraphML module).
-
GraphMLZip
public static final CorpusStorageManager.ExportFormat GraphMLZip
LikeGrapMLbut compressed as ZIP file. Linked files are also copied into the ZIP file.
-
GraphMLDirectory
public static final CorpusStorageManager.ExportFormat GraphMLDirectory
LikeGrapMLbut using a directory with multiple GraphML files, each for one corpus.
-
-
Method Detail
-
values
public static CorpusStorageManager.ExportFormat[] 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.ExportFormat c : CorpusStorageManager.ExportFormat.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.ExportFormat 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
-
-