|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.coverage.grid.AbstractGridCoverageReader
public abstract class AbstractGridCoverageReader
| Field Summary | |
|---|---|
protected CoverageOffering |
description
|
protected Envelope |
envelope
|
protected Format |
format
|
protected Object |
source
|
| Constructor Summary | |
|---|---|
AbstractGridCoverageReader(Object source,
CoverageOffering description,
Envelope envelope,
Format format)
|
|
| Method Summary | |
|---|---|
protected LonLatEnvelope |
calcLonLatEnvelope(Envelope env,
String sourceCRS)
transforms the passed Envelope to a LonLatEnvelope If the passed source CRS isn't equal to "EPSG:4326" the Envelope will be transformed to "EPSG:4326" first. |
String |
getCurrentSubname()
Returns the name for the next grid coverage to be read from the input source. |
Format |
getFormat()
Returns the format handled by this GridCoverageReader. |
String[] |
getMetadataNames()
Returns the list of metadata keywords associated with the input source as a whole (not associated with any particular grid coverage). |
String |
getMetadataValue(String name)
Retrieve the metadata value for a given metadata name. |
Object |
getSource()
Returns the input source. |
String[] |
listSubNames()
Retrieve the list of grid coverages contained within the input source. |
void |
setCurrentSubname(String name)
Set the name for the next grid coverage to GridCoverageWriter#write within theinput. |
void |
setMetadataValue(String name,
String value)
Sets the metadata value for a given metadata name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.deegree.model.coverage.grid.GridCoverageReader |
|---|
dispose, read |
| Field Detail |
|---|
protected CoverageOffering description
protected Object source
protected Envelope envelope
protected Format format
| Constructor Detail |
|---|
public AbstractGridCoverageReader(Object source,
CoverageOffering description,
Envelope envelope,
Format format)
source - description - envelope - format - | Method Detail |
|---|
public Object getSource()
String, an InputStream, a
FileChannel, whatever.
getSource in interface GridCoverageReader
public String[] getMetadataNames()
throws IOException
getMetadataNames in interface GridCoverageReaderIOException - if an error occurs during reading.
public String getMetadataValue(String name)
throws IOException,
MetadataNameNotFoundException
getMetadataValue in interface GridCoverageReadername - Metadata keyword for which to retrieve metadata.
getMetadataNames().
IOException - if an error occurs during reading.
MetadataNameNotFoundException - if there is no value for the specified metadata name.
public void setMetadataValue(String name,
String value)
throws IOException,
MetadataNameNotFoundException
setMetadataValue in interface GridCoverageReadername - Metadata keyword for which to set the metadata.value - The metadata value for the given metadata name.
IOException - if an error occurs during writing.
MetadataNameNotFoundException - if the specified metadata name is not handled for this format.
public void setCurrentSubname(String name)
throws IOException
setCurrentSubname in interface GridCoverageReadername -
IOException - if an error occurs during writing.
public String[] listSubNames()
throws IOException
listSubNames in interface GridCoverageReaderIOException - if an error occurs during reading.
public String getCurrentSubname()
throws IOException
getCurrentSubname in interface GridCoverageReaderIOException - if an error occurs during reading.public Format getFormat()
GridCoverageReader.
getFormat in interface GridCoverageReaderGridCoverageReader.
protected LonLatEnvelope calcLonLatEnvelope(Envelope env,
String sourceCRS)
env - sourceCRS -
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org