Package gov.nih.mipav.model.file
Class MetadataExtractor.TiffDataFormat
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TiffDataFormat
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.TiffDataFormat extends java.lang.Object
An enumeration of data formats used by the TIFF specification.- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
Fields Modifier and Type Field Description private int
_componentSizeBytes
private java.lang.String
_name
private int
_tiffFormatCode
static int
CODE_DOUBLE
static int
CODE_INT16_S
static int
CODE_INT16_U
static int
CODE_INT32_S
static int
CODE_INT32_U
static int
CODE_INT8_S
static int
CODE_INT8_U
static int
CODE_RATIONAL_S
static int
CODE_RATIONAL_U
static int
CODE_SINGLE
static int
CODE_STRING
static int
CODE_UNDEFINED
-
Constructor Summary
Constructors Modifier Constructor Description TiffDataFormat()
private
TiffDataFormat(java.lang.String name, int tiffFormatCode, int componentSizeBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataExtractor.TiffDataFormat
fromTiffFormatCode(int tiffFormatCode)
int
getComponentSizeBytes()
int
getTiffFormatCode()
java.lang.String
toString()
-
-
-
Field Detail
-
CODE_INT8_U
public static final int CODE_INT8_U
- See Also:
- Constant Field Values
-
CODE_STRING
public static final int CODE_STRING
- See Also:
- Constant Field Values
-
CODE_INT16_U
public static final int CODE_INT16_U
- See Also:
- Constant Field Values
-
CODE_INT32_U
public static final int CODE_INT32_U
- See Also:
- Constant Field Values
-
CODE_RATIONAL_U
public static final int CODE_RATIONAL_U
- See Also:
- Constant Field Values
-
CODE_INT8_S
public static final int CODE_INT8_S
- See Also:
- Constant Field Values
-
CODE_UNDEFINED
public static final int CODE_UNDEFINED
- See Also:
- Constant Field Values
-
CODE_INT16_S
public static final int CODE_INT16_S
- See Also:
- Constant Field Values
-
CODE_INT32_S
public static final int CODE_INT32_S
- See Also:
- Constant Field Values
-
CODE_RATIONAL_S
public static final int CODE_RATIONAL_S
- See Also:
- Constant Field Values
-
CODE_SINGLE
public static final int CODE_SINGLE
- See Also:
- Constant Field Values
-
CODE_DOUBLE
public static final int CODE_DOUBLE
- See Also:
- Constant Field Values
-
_name
private java.lang.String _name
-
_tiffFormatCode
private int _tiffFormatCode
-
_componentSizeBytes
private int _componentSizeBytes
-
-
Method Detail
-
fromTiffFormatCode
public MetadataExtractor.TiffDataFormat fromTiffFormatCode(int tiffFormatCode)
-
getComponentSizeBytes
public int getComponentSizeBytes()
-
getTiffFormatCode
public int getTiffFormatCode()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-