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