|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractGridCoverageWriter
public abstract class AbstractGridCoverageWriter
An AbstractGridCoverageWriter
is the base class for all
GridCoverageWriter
implementations in GeoTools toolkit.
We expect it to become the place where to move functionalities common to all
GridCoverageWriter
.
Field Summary | |
---|---|
protected Object |
destination
the destination object where we will do the writing |
protected Hints |
hints
Hints to be used for the writing process. |
protected ImageOutputStream |
outStream
The destination ImageOutputStream . |
Constructor Summary | |
---|---|
AbstractGridCoverageWriter()
Default constructor for an AbstractGridCoverageWriter . |
Method Summary | |
---|---|
void |
dispose()
Releases resources held by this AbstractGridCoverageWriter . |
protected void |
finalize()
Forcing the disposal of this AbstractGridCoverageWriter which may
keep a reference to an open ImageOutputStream |
Object |
getDestination()
(non-Javadoc) |
String[] |
getMetadataNames()
Implementation of getMetadataNames. |
void |
setCurrentSubname(String name)
Set the name for the next grid coverage to write within the output destination. |
void |
setMetadataValue(String name,
String value)
Sets the metadata value for a given metadata name. |
Methods inherited from class Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface GridCoverageWriter |
---|
getFormat, write |
Field Detail |
---|
protected Object destination
protected Hints hints
protected ImageOutputStream outStream
ImageOutputStream
.
Constructor Detail |
---|
public AbstractGridCoverageWriter()
AbstractGridCoverageWriter
.
Method Detail |
---|
public void dispose()
AbstractGridCoverageWriter
.
dispose
in interface GridCoverageWriter
public Object getDestination()
getDestination
in interface GridCoverageWriter
GridCoverageWriter.getDestination()
public String[] getMetadataNames()
getMetadataNames
in interface GridCoverageWriter
GridCoverageWriter.getMetadataNames()
public void setCurrentSubname(String name) throws IOException
GridCoverageWriter
setCurrentSubname
in interface GridCoverageWriter
IOException
- if an error occurs during writing.GridCoverageWriter.setCurrentSubname(java.lang.String)
public void setMetadataValue(String name, String value) throws IOException
GridCoverageWriter
setMetadataValue
in interface GridCoverageWriter
name
- Metadata keyword for which to set the metadata.value
- The metadata value for the given metadata name.
IOException
- if an error occurs during writing.GridCoverageWriter.setMetadataValue(java.lang.String,
java.lang.String)
protected void finalize() throws Throwable
AbstractGridCoverageWriter
which may
keep a reference to an open ImageOutputStream
finalize
in class Object
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |