public class TagValue extends TiffObject implements Serializable
| Constructor and Description |
|---|
TagValue(int id,
int type)
Instantiates a new tag value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(abstractTiffType value)
Adds a value to the list.
|
void |
clear()
Clears the list of values.
|
int |
getBytesBigEndian(int i,
int j)
Gets the bytes.
|
int |
getCardinality()
Gets the number of values in the list.
|
List<abstractTiffType> |
getDescriptiveValueObject()
Gets the descriptive value.
|
long |
getFirstNumericValue()
Gets the first value of the list parsed as a number.
|
String |
getFirstTextReadValue() |
int |
getId()
Gets the tag id.
|
String |
getName()
Gets the name of the tag.
|
int |
getReadlength()
Gets the readlength.
|
int |
getReadOffset()
Gets the read offset.
|
List<abstractTiffType> |
getReadValue() |
int |
getTagOffset()
Gets tag offset.
|
int |
getType()
Gets the tag type.
|
List<abstractTiffType> |
getValue()
Gets the list of values.
|
List<abstractTiffType> |
getValueBackup()
Gets the list of values backups.
|
String |
readString()
Read string.
|
void |
reset()
Reset.
|
void |
setReadLength(int length)
Sets the read length.
|
void |
setReadOffset(int offset)
Sets the read offset.
|
void |
setReadValue() |
void |
setTagOffset(int offset)
Sets tag offset.
|
void |
setValue(List<abstractTiffType> value)
Sets the value.
|
void |
setValueBackup(List<abstractTiffType> valueBackup)
Sets the valueBakup.
|
String |
toString()
Gets a string representing the value.
|
getContainer, setContainerpublic TagValue(int id,
int type)
id - tag idtype - tag type idpublic void setReadOffset(int offset)
offset - the new read offsetpublic int getReadOffset()
public int getTagOffset()
public void setTagOffset(int offset)
offset - the offsetpublic List<abstractTiffType> getDescriptiveValueObject()
public void setReadLength(int length)
length - the new read lengthpublic int getReadlength()
public List<abstractTiffType> getValue()
public List<abstractTiffType> getValueBackup()
public void setValue(List<abstractTiffType> value)
value - the new valuepublic void setValueBackup(List<abstractTiffType> valueBackup)
valueBackup - the new value backuppublic List<abstractTiffType> getReadValue()
public String getFirstTextReadValue()
public void setReadValue()
public void add(abstractTiffType value)
value - the valuepublic int getId()
public int getType()
public int getCardinality()
public long getFirstNumericValue()
public String toString()
public String readString()
public String getName()
public int getBytesBigEndian(int i,
int j)
i - the ij - the jpublic void clear()
public void reset()
Copyright © 2015–2020. All rights reserved.