|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.coverage.processing.AbstractProcessor
org.geotools.coverage.processing.BufferedProcessor
A coverage processor caching the result of any operations. Since a grid coverage may be expensive to compute and consumes a lot of memory, we can save a lot of resources by returning cached instances every time the same operation with the same parameters is applied on the same coverage. Coverages are cached using weak references.
| Field Summary | |
protected AbstractProcessor |
processor
The underlying processor. |
| Fields inherited from class org.geotools.coverage.processing.AbstractProcessor |
LOGGER, OPERATION |
| Constructor Summary | |
BufferedProcessor(AbstractProcessor processor)
Creates a new buffered processor backed by the specified processor. |
|
BufferedProcessor(java.awt.RenderingHints hints)
Creates a buffered processor backed by a default processor using the specified hints. |
|
| Method Summary | |
org.opengis.coverage.Coverage |
doOperation(org.opengis.parameter.ParameterValueGroup parameters)
Applies an operation. |
org.opengis.coverage.processing.Operation |
getOperation(java.lang.String name)
Returns the operation for the specified name. |
java.util.Collection |
getOperations()
Retrieves grid processing operations information. |
| Methods inherited from class org.geotools.coverage.processing.AbstractProcessor |
getInstance, getLocale, listOperations, main, printOperations |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected final AbstractProcessor processor
| Constructor Detail |
public BufferedProcessor(java.awt.RenderingHints hints)
public BufferedProcessor(AbstractProcessor processor)
DefaultProcessor, consider using the
constructor expecting hints instead,
for efficienty.
| Method Detail |
public java.util.Collection getOperations()
getOperations in class AbstractProcessor
public org.opengis.coverage.processing.Operation getOperation(java.lang.String name)
throws org.opengis.coverage.processing.OperationNotFoundException
getOperation in class AbstractProcessorname - Name of the operation.
org.opengis.coverage.processing.OperationNotFoundException - if there is no operation for the specified name.
public org.opengis.coverage.Coverage doOperation(org.opengis.parameter.ParameterValueGroup parameters)
throws org.opengis.coverage.processing.OperationNotFoundException
doOperation in class AbstractProcessorparameters - Parameters required for the operation.
org.opengis.coverage.processing.OperationNotFoundException - if there is no operation for the parameter group name.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||