|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gdal.gdal.MajorObject
public class MajorObject
Class used for object with metadata.
The MajorObject class is a binding for the C++ GDALMajorObject class.
Method Summary | |
---|---|
void |
delete()
|
String |
GetDescription()
Fetch object description. |
Hashtable |
GetMetadata_Dict()
Fetch metadata. |
Hashtable |
GetMetadata_Dict(String domain)
Fetch metadata. |
Vector |
GetMetadata_List()
Fetch metadata. |
Vector |
GetMetadata_List(String domain)
Fetch metadata. |
String |
GetMetadataItem(String name)
Fetch single metadata item. |
String |
GetMetadataItem(String name,
String domain)
Fetch single metadata item. |
void |
SetDescription(String newDescription)
Set object description. |
int |
SetMetadata(Hashtable metadata)
Set metadata. |
int |
SetMetadata(Hashtable metadata,
String domain)
Set metadata. |
int |
SetMetadata(String metadataString)
Set metadata. |
int |
SetMetadata(String metadataString,
String domain)
Set metadata. |
int |
SetMetadata(Vector metadata)
Set metadata. |
int |
SetMetadata(Vector metadata,
String domain)
Set metadata. |
int |
SetMetadataItem(String name,
String value)
Set single metadata item. |
int |
SetMetadataItem(String name,
String value,
String domain)
Set single metadata item. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void delete()
public int SetMetadata(Hashtable metadata, String domain)
metadata
- the metadata as a table of (key, value) tuples to applydomain
- the domain of interest. Use "" or null for the default
domain.
public int SetMetadata(Hashtable metadata)
public String GetDescription()
public void SetDescription(String newDescription)
newDescription
- new descriptionpublic Hashtable GetMetadata_Dict(String domain)
domain
- the domain of interest. Use "" or null for the default
domain.
public Hashtable GetMetadata_Dict()
public Vector GetMetadata_List(String domain)
domain
- the domain of interest. Use "" or null for the default
domain.
public Vector GetMetadata_List()
public int SetMetadata(Vector metadata, String domain)
metadata
- the metadata to apply as a vector of strings of the format "KEY=VALUE".domain
- the domain of interest. Use "" or null for the default
domain.
public int SetMetadata(Vector metadata)
metadata
- the metadata to apply as a vector of strings of the format "KEY=VALUE".
public int SetMetadata(String metadataString, String domain)
metadataString
- the metadata to apply as a string of the format "KEY=VALUE".domain
- the domain of interest. Use "" or null for the default
domain.
public int SetMetadata(String metadataString)
metadataString
- the metadata to apply as a string of the format "KEY=VALUE".
public String GetMetadataItem(String name, String domain)
name
- the key for the metadata item to fetch.domain
- the domain to fetch for, use null for the default domain.
public String GetMetadataItem(String name)
name
- the key for the metadata item to fetch.
public int SetMetadataItem(String name, String value, String domain)
name
- the key for the metadata item to fetch.value
- the value to assign to the key.domain
- the domain to set within, use null for the default domain.
public int SetMetadataItem(String name, String value)
name
- the key for the metadata item to fetch.value
- the value to assign to the key.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |