public class abstractTiffType extends TiffObject implements Serializable
| Constructor and Description |
|---|
abstractTiffType()
Instantiates a new abstract tiff type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetadata()
Contains metadata.
|
Metadata |
createMetadata()
Creates the metadata.
|
int |
getTypeSize()
Gets the type size in bytes.
|
boolean |
isIFD()
Checks if is ifd.
|
void |
read(TagValue tv)
Read.
|
void |
read(TagValue tv,
String filePath) |
protected void |
setIsIFD(boolean b)
Sets the checks if is ifd.
|
void |
setTypeSize(int size)
Sets the type size in bytes.
|
byte |
toByte()
To byte.
|
int |
toInt()
Convert the value to an integer.
|
int |
toUint()
To uint.
|
getContainer, setContainerpublic abstractTiffType()
public void setTypeSize(int size)
size - the new type sizepublic int getTypeSize()
public int toInt()
throws NumberFormatException
NumberFormatException - Number format exceptionpublic void read(TagValue tv) throws Exception
tv - the tvException - parse exceptionpublic boolean isIFD()
public int toUint()
protected void setIsIFD(boolean b)
b - the new checks if is ifdpublic boolean containsMetadata()
public Metadata createMetadata() throws Exception
Exception - Parsing exceptionpublic byte toByte()
Copyright © 2015–2020. All rights reserved.