|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.coobird.thumbnailator.util.exif.IfdStructure
public class IfdStructure
IFD structure as defined in Section 4.6.2 of the Exif Specification version 2.3.
Constructor Summary | |
---|---|
IfdStructure(int tag,
int type,
int count,
int offsetValue)
Instantiates a IFD with the given attributes. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Returns whether this object is equal to the given object. |
int |
getCount()
Returns the count element in the IFD structure, indicating the number of values the value field.. |
int |
getOffsetValue()
Returns either the offset or value of the IFD. |
int |
getTag()
Returns the tag element in the IFD structure. |
IfdType |
getType()
Returns the type element in the IFD structure. |
int |
hashCode()
Returns the calculated hash code for this object. |
boolean |
isOffset()
Returns whether the value returned by the getOffsetValue()
method is an offset value. |
boolean |
isValue()
Returns whether the value returned by the getOffsetValue()
method is an actual value. |
String |
toString()
Returns a textual String reprensentation of this object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IfdStructure(int tag, int type, int count, int offsetValue)
tag
- The tag element.type
- The type element.count
- The count of values.offsetValue
- The offset or value.Method Detail |
---|
public int getTag()
public IfdType getType()
IfdType
enum indicating the type.public int getCount()
public int getOffsetValue()
isOffset()
or isValue()
method.public boolean isValue()
getOffsetValue()
method is an actual value.
true
if the value returned by the
getOffsetValue()
method is a value, false
otherwise.public boolean isOffset()
getOffsetValue()
method is an offset value.
true
if the value returned by the
getOffsetValue()
method is a offset value,
false
otherwise.public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
true
if the given object and this object is
equivalent, false
otherwise.public String toString()
String
reprensentation of this object.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |