|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.data.coverage.grid.stream.StreamGridCoverageExchange
A simple stateless GridCoverageExchange that will write/read to/from files and streams
| Constructor Summary | |
StreamGridCoverageExchange()
|
|
| Method Summary | |
void |
dispose()
This is a stateless GridCoverageExchange therefore nothing needs to be done |
org.opengis.coverage.grid.Format[] |
getFormats()
|
org.opengis.coverage.grid.GridCoverageReader |
getReader(java.lang.Object arg0)
|
org.opengis.coverage.grid.GridCoverageWriter |
getWriter(java.lang.Object destination,
org.opengis.coverage.grid.Format format)
|
boolean |
isAvailable()
|
boolean |
isLegalDestination(java.lang.Object destination)
Checks the source Object and ensures that it is legal for this type of GridCoverageExchange This method is basic and can easily be fooled at this point |
boolean |
isLegalSource(java.lang.Object source)
Checks the source Object and ensures that it is legal for this type of GridCoverageExchange This method is basic and can easily be fooled at this point |
boolean |
setDataSource(java.lang.Object datasource)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StreamGridCoverageExchange()
| Method Detail |
public boolean isLegalSource(java.lang.Object source)
source - the source object to check
org.opengis.coverage.grid.GridCoverageExchange#getReader(java.lang.Object,
org.opengis.coverage.grid.Format)
public org.opengis.coverage.grid.GridCoverageWriter getWriter(java.lang.Object destination,
org.opengis.coverage.grid.Format format)
throws java.io.IOException
getWriter in interface org.opengis.coverage.grid.GridCoverageExchangejava.io.IOExceptionGridCoverageExchange.getWriter(java.lang.Object,
org.opengis.coverage.grid.Format)public boolean isLegalDestination(java.lang.Object destination)
destination - the source object to check
org.opengis.coverage.grid.GridCoverageExchange#getReader(java.lang.Object,
org.opengis.coverage.grid.Format)public org.opengis.coverage.grid.Format[] getFormats()
getFormats in interface org.opengis.coverage.grid.GridCoverageExchangeGridCoverageExchange.getFormats()
public org.opengis.coverage.grid.GridCoverageReader getReader(java.lang.Object arg0)
throws java.io.IOException
getReader in interface org.opengis.coverage.grid.GridCoverageExchangejava.io.IOExceptionGridCoverageExchange.getReader(java.lang.Object)
public void dispose()
throws java.io.IOException
dispose in interface org.opengis.coverage.grid.GridCoverageExchangejava.io.IOExceptionGridCoverageExchange.dispose()public boolean isAvailable()
public boolean setDataSource(java.lang.Object datasource)
org.geotools.data.coverage.grid.GridCoverageExchange#accepts(java.net.URL)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||