Class Directory
java.lang.Object
is.galia.codec.tiff.Directory
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Directory
- Parameters:
tagSet
- Tag set on which this instance will be based.
-
-
Method Details
-
add
- Parameters:
field
- Field to add.- Throws:
IllegalArgumentException
- if the argument'stag
does not exist in the instance'sTagSet
.
-
equals
-
getField
-
getFields
-
getSubdirectory
-
getTagSet
-
hashCode
-
size
public int size()- Returns:
- Number of fields in the instance, including sub-IFD pointer fields but excluding sub-IFD fields.
-
toMap
Returns a map with the following structure:
{ "tagSet": String, "fields": { "Field1Name": [ Object ], "Field2Name": [ Object, Object ], "SubIFDPointerName": { "tagSet": String, "Fields": { "Field1Name": [ Object, Object ] "Field2Name": [ Object ] } } } }
- Returns:
- Map representation of the instance.
-