Package gov.nih.mipav.model.file
Enum FileTiff.Type
- All Implemented Interfaces:
Serializable,Comparable<FileTiff.Type>,java.lang.constant.Constable
- Enclosing class:
FileTiff
Tiff Types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription7 bit ASCII8 bit unsigneddouble precision 8 byte IEEE formatsingle precision 4 byte IEEE formatThe IFD type is identical to LONG, except that it is only used to point to other valid IFDs32 bit unsigned, 4 bytes like C2 longs 1st numerator8 bit signed16 bit unsigned32 bit signed, again only 4 bytessigned rational with two longs, 1st numerator16 bit signed8 bit undefined -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileTiff.TypegetTypeFromNum(int v6Num) intgetv6Num()static FileTiff.TypeReturns the enum constant of this type with the specified name.static FileTiff.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BYTE
8 bit unsigned -
ASCII
7 bit ASCII -
SHORT
16 bit unsigned -
LONG
32 bit unsigned, 4 bytes like C -
RATIONAL
2 longs 1st numerator -
SBYTE
8 bit signed -
UNDEFINED
8 bit undefined -
SSHORT
16 bit signed -
SLONG
32 bit signed, again only 4 bytes -
SRATIONAL
signed rational with two longs, 1st numerator -
FLOAT
single precision 4 byte IEEE format -
DOUBLE
double precision 8 byte IEEE format -
IFD
The IFD type is identical to LONG, except that it is only used to point to other valid IFDs
-
-
Field Details
-
v6Num
private int v6NumNumber of type as specified by TIFF 6 format
-
-
Constructor Details
-
Type
private Type(int v6Num)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getTypeFromNum
-
getv6Num
public int getv6Num()
-