ImageFileFormat
instead.@Deprecated public enum FileFormat extends java.lang.Enum<FileFormat>
Enum Constant and Description |
---|
AVI
Deprecated.
|
JPG
Deprecated.
|
LSM
Deprecated.
|
PNG
Deprecated.
|
TIFF
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Deprecated.
Get file format description
|
loci.formats.gui.ExtensionFileFilter |
getExtensionFileFilter()
Deprecated.
|
java.lang.String[] |
getExtensions()
Deprecated.
Get file format extensions
|
static FileFormat |
getFileFormat(java.lang.String ext)
Deprecated.
Use
getFileFormat(String, FileFormat) instead. |
static FileFormat |
getFileFormat(java.lang.String ext,
FileFormat defaultValue)
Deprecated.
Return the FileFormat corresponding to specified extension.
|
boolean |
matches(java.lang.String ext)
Deprecated.
Return true if the specified extension matches this format.
|
static FileFormat |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static FileFormat[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileFormat TIFF
public static final FileFormat PNG
public static final FileFormat LSM
public static final FileFormat JPG
public static final FileFormat AVI
public static FileFormat[] values()
for (FileFormat c : FileFormat.values()) System.out.println(c);
public static FileFormat 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 loci.formats.gui.ExtensionFileFilter getExtensionFileFilter()
public java.lang.String getDescription()
public java.lang.String[] getExtensions()
public boolean matches(java.lang.String ext)
defaultValue
is returned if no matching format is found (it can be null).public static FileFormat getFileFormat(java.lang.String ext, FileFormat defaultValue)
defaultValue
is returned if no matching format is found.@Deprecated public static FileFormat getFileFormat(java.lang.String ext)
getFileFormat(String, FileFormat)
instead.