Enum Constant and Description |
---|
CALTECH
SAM, Caltech (a.k.a.
|
CUSTOM_TABULAR
Custom tabular, defined by a FileFormat
|
DIRECTIONS
Sample-level directional data
|
IAPD
DAT, [Super-]IAPD[2000] (Torsvik et al.)
|
JR6
JR6 format used by AGICO software
|
PMD_ENKIN
Textual PMD format originated by R.
|
PUFFINPLOT_NEW
PPL, new PuffinPlot file format
|
PUFFINPLOT_OLD
PPL, old PuffinPlot file format
|
TWOGEE
DAT, 2G Long Core software
|
UCDAVIS
Ancient UC Davis 2G format
|
UNKNOWN
Unknown file format
|
ZPLOT
TXT, Steve Hurst's Zplot program
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNiceName()
Returns a user-friendly name for this filetype.
|
int |
getShortcut() |
static FileType |
guess(java.io.File file)
Attempts to guess the type of a file from its name and contents.
|
static FileType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileType TWOGEE
public static final FileType ZPLOT
public static final FileType PUFFINPLOT_OLD
public static final FileType PUFFINPLOT_NEW
public static final FileType CALTECH
public static final FileType IAPD
public static final FileType UCDAVIS
public static final FileType DIRECTIONS
public static final FileType CUSTOM_TABULAR
public static final FileType PMD_ENKIN
public static final FileType JR6
public static final FileType UNKNOWN
public static FileType[] values()
for (FileType c : FileType.values()) System.out.println(c);
public static FileType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static FileType guess(java.io.File file) throws java.io.IOException
file
- the file for which to guess the typeUNKNOWN
if it could not be guessedjava.io.IOException
- if an I/O error occurredpublic java.lang.String getNiceName()
public int getShortcut()