|
deegree 2.5 (2011/06/29 09:44 build-8-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 java.lang.Object |
source
|
| Constructor Summary | |
|---|---|
AbstractGridCoverageReader(java.lang.Object source,
CoverageOffering description,
Envelope envelope,
Format format)
|
|
| Method Summary | |
|---|---|
protected LonLatEnvelope |
calcLonLatEnvelope(Envelope env,
java.lang.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. |
java.lang.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. |
java.lang.String[] |
getMetadataNames()
Returns the list of metadata keywords associated with the input source as a whole (not associated with any particular grid coverage). |
java.lang.String |
getMetadataValue(java.lang.String name)
Retrieve the metadata value for a given metadata name. |
java.lang.Object |
getSource()
Returns the input source. |
java.lang.String[] |
listSubNames()
Retrieve the list of grid coverages contained within the input source. |
void |
setCurrentSubname(java.lang.String name)
Set the name for the next grid coverage to GridCoverageWriter#write within theinput. |
void |
setMetadataValue(java.lang.String name,
java.lang.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 java.lang.Object source
protected Envelope envelope
protected Format format
| Constructor Detail |
|---|
public AbstractGridCoverageReader(java.lang.Object source,
CoverageOffering description,
Envelope envelope,
Format format)
source - description - envelope - format - | Method Detail |
|---|
public java.lang.Object getSource()
String, an InputStream, a
FileChannel, whatever.
getSource in interface GridCoverageReader
public java.lang.String[] getMetadataNames()
throws java.io.IOException
getMetadataNames in interface GridCoverageReaderjava.io.IOException - if an error occurs during reading.
public java.lang.String getMetadataValue(java.lang.String name)
throws java.io.IOException,
MetadataNameNotFoundException
getMetadataValue in interface GridCoverageReadername - Metadata keyword for which to retrieve metadata.
getMetadataNames().
java.io.IOException - if an error occurs during reading.
MetadataNameNotFoundException - if there is no value for the specified metadata name.
public void setMetadataValue(java.lang.String name,
java.lang.String value)
throws java.io.IOException,
MetadataNameNotFoundException
setMetadataValue in interface GridCoverageReadername - Metadata keyword for which to set the metadata.value - The metadata value for the given metadata name.
java.io.IOException - if an error occurs during writing.
MetadataNameNotFoundException - if the specified metadata name is not handled for this format.
public void setCurrentSubname(java.lang.String name)
throws java.io.IOException
setCurrentSubname in interface GridCoverageReadername -
java.io.IOException - if an error occurs during writing.
public java.lang.String[] listSubNames()
throws java.io.IOException
listSubNames in interface GridCoverageReaderjava.io.IOException - if an error occurs during reading.
public java.lang.String getCurrentSubname()
throws java.io.IOException
getCurrentSubname in interface GridCoverageReaderjava.io.IOException - if an error occurs during reading.public Format getFormat()
GridCoverageReader.
getFormat in interface GridCoverageReaderGridCoverageReader.
protected LonLatEnvelope calcLonLatEnvelope(Envelope env,
java.lang.String sourceCRS)
env - sourceCRS -
|
deegree 2.5 (2011/06/29 09:44 build-8-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