public static enum ISAConst.ISAFormat extends Enum<ISAConst.ISAFormat>
Modifier and Type | Method and Description |
---|---|
abstract String |
getExtension() |
abstract String |
getMediaType()
MIME type
See https://github.com/ISA-tools/isa-api/issues/96
|
String |
toString() |
static ISAConst.ISAFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ISAConst.ISAFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISAConst.ISAFormat TAB
public static final ISAConst.ISAFormat JSON
public static ISAConst.ISAFormat[] values()
for (ISAConst.ISAFormat c : ISAConst.ISAFormat.values()) System.out.println(c);
public static ISAConst.ISAFormat 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 abstract String getMediaType()
public abstract String getExtension()
public String toString()
toString
in class Enum<ISAConst.ISAFormat>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.