Package org.molgenis.vibe.core.io.input
Enum ModelReaderFactory
- java.lang.Object
-
- java.lang.Enum<ModelReaderFactory>
-
- org.molgenis.vibe.core.io.input.ModelReaderFactory
-
- All Implemented Interfaces:
Serializable,Comparable<ModelReaderFactory>
public enum ModelReaderFactory extends Enum<ModelReaderFactory>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HDT
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ModelReaderreadDatabase(Path file)static ModelReaderFactoryvalueOf(String name)Returns the enum constant of this type with the specified name.static ModelReaderFactory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HDT
public static final ModelReaderFactory HDT
-
-
Method Detail
-
values
public static ModelReaderFactory[] 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 (ModelReaderFactory c : ModelReaderFactory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelReaderFactory 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
-
readDatabase
public abstract ModelReader readDatabase(Path file) throws IOException
- Throws:
IOException
-
-