|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.image.io.text.TextMetadataParser.Key
public static class TextMetadataParser.Key
A key for fetching metadata in a format independent way. For example, the northern
limit of an image way be named "Limit North"
is some metadata files,
and "ULY"
(as Upper Left Y) in other metadata files. The
MetadataReader#Y_MAXIMUM
allows to fetch this metadata without knowledge of
the actual name used in the underlying metadata file.
Keys are case-insensitive. Furthermore, trailing and leading spaces are ignored.
Any succession of one ore more unicode whitespace characters (as of
Character.isSpaceChar(char)
is understood as equal to a single
'_'
character. For example, the key "false easting"
is considered equals to "false_easting"
.
Constructor Summary | |
---|---|
TextMetadataParser.Key(java.lang.String name)
Construct a new key. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Compare this key with the supplied key for equality. |
int |
hashCode()
Returns a hash code value. |
java.lang.String |
toString()
Returns the name for this key. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextMetadataParser.Key(java.lang.String name)
name
- The key name.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
'_'
character, as specified in this class documentation.
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |