Package org.openjump.core.rasterimage
Class TiffTags
- java.lang.Object
-
- org.openjump.core.rasterimage.TiffTags
-
public class TiffTags extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
TiffTags.TiffMetadata
class
TiffTags.TiffReadingException
-
Field Summary
Fields Modifier and Type Field Description static int
FIELDTYPE_LONG
static int
FIELDTYPE_SHORT
static int
TIFFTAG_GDAL_METADATA
static int
TIFFTAG_GDAL_NODATA
-
Constructor Summary
Constructors Constructor Description TiffTags()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<org.apache.commons.imaging.formats.tiff.TiffField>
readAllFields(File tiffFile, int tagCode)
static org.apache.commons.imaging.formats.tiff.TiffField
readField(File tiffFile, String tagName)
static TiffTags.TiffMetadata
readMetadata(File tiffFile)
-
-
-
Field Detail
-
FIELDTYPE_SHORT
public static final int FIELDTYPE_SHORT
- See Also:
- Constant Field Values
-
FIELDTYPE_LONG
public static final int FIELDTYPE_LONG
- See Also:
- Constant Field Values
-
TIFFTAG_GDAL_NODATA
public static final int TIFFTAG_GDAL_NODATA
- See Also:
- Constant Field Values
-
TIFFTAG_GDAL_METADATA
public static final int TIFFTAG_GDAL_METADATA
- See Also:
- Constant Field Values
-
-
Method Detail
-
readMetadata
public static TiffTags.TiffMetadata readMetadata(File tiffFile) throws IOException, TiffTags.TiffReadingException
-
readField
public static org.apache.commons.imaging.formats.tiff.TiffField readField(File tiffFile, String tagName) throws IOException
- Throws:
IOException
-
readAllFields
public static List<org.apache.commons.imaging.formats.tiff.TiffField> readAllFields(File tiffFile, int tagCode) throws IOException
- Throws:
IOException
-
-