Package de.labathome.irb
Enum IrbFileType
- java.lang.Object
-
- java.lang.Enum<IrbFileType>
-
- de.labathome.irb.IrbFileType
-
- All Implemented Interfaces:
Serializable,Comparable<IrbFileType>
public enum IrbFileType extends Enum<IrbFileType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IrbFileTypefromString(String content)static IrbFileTypevalueOf(String name)Returns the enum constant of this type with the specified name.static IrbFileType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMAGE
public static final IrbFileType IMAGE
single image; identified by "IRBACS\0\0"
-
SEQUENCE
public static final IrbFileType SEQUENCE
sequence of images; idenfitied by "IRBIS 3\0"
-
VARIOCAM
public static final IrbFileType VARIOCAM
specific camera model; identified by "VARIOCAM"
-
-
Method Detail
-
values
public static IrbFileType[] 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 (IrbFileType c : IrbFileType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IrbFileType 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
-
fromString
public static IrbFileType fromString(String content)
-
-