| java.lang.Object org.geotools.image.io.metadata.Identification
Identification | public class Identification implements CharSequence,Serializable(Code) | | An immutable (
"name" ,
"type" ) pair.
since: 2.4 version: $Id: Identification.java 26137 2007-07-03 17:59:44Z desruisseaux $ author: Martin Desruisseaux |
Field Summary | |
final public String | name The object name, or
null if none. | final public String | type The object type, or
null if none. |
Method Summary | |
public char | charAt(int index) Returns the
character at the specified index. | public boolean | equals(Object object) Compares the specified object with this identification for equality. | public int | hashCode() Returns a hash value for this identification. | public int | length() Returns the
length. | public CharSequence | subSequence(int start, int end) Returns a subsequence of this identification. | public String | toString() Returns the
. |
name | final public String name(Code) | | The object name, or
null if none.
|
type | final public String type(Code) | | The object type, or
null if none.
|
Identification | public Identification(String name, String type)(Code) | | Creates an identification from the specified object name and type.
|
Identification | public Identification(MetadataAccessor accessor)(Code) | | Creates an identification from the
"name" and
"type" attributes
in the specified accessor.
|
charAt | public char charAt(int index)(Code) | | Returns the
character at the specified index.
|
equals | public boolean equals(Object object)(Code) | | Compares the specified object with this identification for equality.
|
hashCode | public int hashCode()(Code) | | Returns a hash value for this identification.
|
length | public int length()(Code) | | Returns the
length.
|
subSequence | public CharSequence subSequence(int start, int end)(Code) | | Returns a subsequence of this identification. The new identification will contains a
substring of the
, but the
will be unchanged.
|
|
|