|
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.AbstractGridCoverageWriter
public abstract class AbstractGridCoverageWriter
| Field Summary | |
|---|---|
protected java.lang.Object |
destination
|
protected Format |
format
|
protected java.util.Map<java.lang.String,java.lang.Object> |
metadata
|
| Constructor Summary | |
|---|---|
AbstractGridCoverageWriter(java.lang.Object destination,
java.util.Map<java.lang.String,java.lang.Object> metadata,
java.lang.String[] subNames,
java.lang.String currentSubname,
Format format)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCurrentSubname()
Returns the name for the next grid coverage to be read from the output destination. |
java.lang.Object |
getDestination()
Returns the output destination. |
Format |
getFormat()
Returns the format handled by this GridCoverageWriter. |
java.lang.String[] |
getMetadataNames()
Returns the list of metadata keywords associated with the output destination as a whole (not associated with any particular grid coverage). |
java.lang.Object |
getMetadataValue(java.lang.String name)
Retrieve the metadata value for a given metadata name. |
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(GridCoverage, GeneralParameterValue[]) within theoutput destination. |
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.GridCoverageWriter |
|---|
dispose, write |
| Field Detail |
|---|
protected java.lang.Object destination
protected java.util.Map<java.lang.String,java.lang.Object> metadata
protected Format format
| Constructor Detail |
|---|
public AbstractGridCoverageWriter(java.lang.Object destination,
java.util.Map<java.lang.String,java.lang.Object> metadata,
java.lang.String[] subNames,
java.lang.String currentSubname,
Format format)
destination - metadata - subNames - currentSubname - format - | Method Detail |
|---|
public Format getFormat()
GridCoverageWriter.
getFormat in interface GridCoverageWriterGridCoverageWriter.public java.lang.Object getDestination()
String, an OutputStream, a
FileChannel, etc.
getDestination in interface GridCoverageWriterpublic java.lang.String[] getMetadataNames()
getMetadataNames in interface GridCoverageWriter
public java.lang.Object getMetadataValue(java.lang.String name)
throws java.io.IOException,
MetadataNameNotFoundException
getMetadataValue in interface GridCoverageWritername - 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 GridCoverageWritername - 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 java.lang.String[] listSubNames()
throws java.io.IOException
listSubNames in interface GridCoverageWriterjava.io.IOException - if an error occurs during reading.
public java.lang.String getCurrentSubname()
throws java.io.IOException
getCurrentSubname in interface GridCoverageWriterjava.io.IOException - if an error occurs during reading.
public void setCurrentSubname(java.lang.String name)
throws java.io.IOException
setCurrentSubname in interface GridCoverageWriterjava.io.IOException - if an error occurs during writing.
|
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