|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.image.io.metadata.Identification
public class Identification
An immutable ("name"
, "type"
) pair.
Field Summary | |
---|---|
java.lang.String |
name
The object name, or null if none. |
java.lang.String |
type
The object type, or null if none. |
Constructor Summary | |
---|---|
Identification(MetadataAccessor accessor)
Creates an identification from the "name" and "type" attributes
in the specified accessor. |
|
Identification(java.lang.String name,
java.lang.String type)
Creates an identification from the specified object name and type. |
Method Summary | |
---|---|
char |
charAt(int index)
Returns the name character at the specified index. |
boolean |
equals(java.lang.Object object)
Compares the specified object with this identification for equality. |
int |
hashCode()
Returns a hash value for this identification. |
int |
length()
Returns the name length. |
java.lang.CharSequence |
subSequence(int start,
int end)
Returns a subsequence of this identification. |
java.lang.String |
toString()
Returns the name. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final java.lang.String name
null
if none.
public final java.lang.String type
null
if none.
Constructor Detail |
---|
public Identification(java.lang.String name, java.lang.String type)
public Identification(MetadataAccessor accessor)
"name"
and "type"
attributes
in the specified accessor.
Method Detail |
---|
public int length()
length
in interface java.lang.CharSequence
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |