|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.geotools.cv.Coverage.Export
org.geotools.gc.GridCoverage.Export
Export a Geotools GridCoverage as an OpenGIS GC_GridCoverage
object. This class is suitable for RMI use. User should not create instance
of this class directly. The method Adapters.export(GridCoverage) should
be used instead.
| Field Summary |
| Fields inherited from class org.geotools.cv.Coverage.Export |
adapters |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
protected |
GridCoverage.Export(Adapters adapters)
Constructs a remote object. |
| Method Summary | |
boolean[] |
getDataBlockAsBoolean(org.opengis.gc.GC_GridRange gridRange)
Return a sequence of boolean values for a block. |
byte[] |
getDataBlockAsByte(org.opengis.gc.GC_GridRange gridRange)
Return a sequence of byte values for a block. |
int[] |
getDataBlockAsInteger(org.opengis.gc.GC_GridRange gridRange)
Return a sequence of int values for a block. |
org.opengis.gc.GC_GridGeometry |
getGridGeometry()
Returns information for the grid coverage geometry. |
org.opengis.gc.GC_GridPacking |
getGridPacking()
Returns information for the packing of grid coverage values. |
javax.media.jai.Interpolation |
getInterpolation()
Returns the interpolation used for evaluate(...) |
int |
getNumOverviews()
Returns the number of predetermined overviews for the grid. |
int |
getNumSources()
Returns the number of grid coverages which the grid coverage was derived from. |
int[] |
getOptimalDataBlockSizes()
Returns the optimal size to use for each dimension when accessing grid values. |
org.opengis.gc.GC_GridCoverage |
getOverview(int overviewIndex)
Returns a pre-calculated overview for a grid coverage. |
org.opengis.gc.GC_GridGeometry |
getOverviewGridGeometry(int overviewIndex)
Return the grid geometry for an overview. |
byte[] |
getPackedDataBlock(org.opengis.gc.GC_GridRange gridRange)
Return a block of grid coverage data for all sample dimensions. |
java.awt.image.RenderedImage |
getRenderedImage()
Returns the underlying RenderedImage for this GC_GridCoverage.
|
org.opengis.gc.GC_GridCoverage |
getSource(int sourceDataIndex)
Returns the source data for a grid coverage. |
double[] |
getValueBlockAsDouble(org.opengis.gc.GC_GridRange gridRange)
Return a sequence of double values for a block. |
boolean |
isDataEditable()
Returns true if grid data can be edited.
|
void |
setDataBlockAsBoolean(org.opengis.gc.GC_GridRange gridRange,
boolean[] values)
Set a block of boolean values for all sample dimensions. |
void |
setDataBlockAsByte(org.opengis.gc.GC_GridRange gridRange,
byte[] values)
Set a block of byte values for all sample dimensions. |
void |
setDataBlockAsDouble(org.opengis.gc.GC_GridRange gridRange,
double[] values)
Set a block of double values for all sample dimensions. |
void |
setDataBlockAsInteger(org.opengis.gc.GC_GridRange gridRange,
int[] values)
Set a block of bint values for all sample dimensions. |
void |
setPackedDataBlock(org.opengis.gc.GC_GridRange gridRange,
byte[] values)
Set a block of grid coverage data for all sample dimensions. |
| Methods inherited from class org.geotools.cv.Coverage.Export |
evaluate, evaluateAsBoolean, evaluateAsByte, evaluateAsDouble, evaluateAsInteger, getCoordinateSystem, getDimensionNames, getEnvelope, getMetadataNames, getMetadataValue, getNumSampleDimensions, getProperty, getPropertyClass, getPropertyNames, getPropertyNames, getSampleDimension |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.opengis.cv.CV_Coverage |
evaluate, evaluateAsBoolean, evaluateAsByte, evaluateAsDouble, evaluateAsInteger, getCoordinateSystem, getDimensionNames, getEnvelope, getMetadataNames, getMetadataValue, getNumSampleDimensions, getSampleDimension |
| Constructor Detail |
protected GridCoverage.Export(Adapters adapters)
throws java.rmi.RemoteException
GridCoverage object. The cached Export
instance can be queried with Adapters.export(GridCoverage).
adapters - The originating adapter.
java.rmi.RemoteException - if this object can't be exported through RMI.| Method Detail |
public int getNumSources()
throws java.rmi.RemoteException
GridCoverage.getSources().
getNumSources in interface org.opengis.cv.CV_CoveragegetNumSources in class Coverage.Exportjava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public org.opengis.gc.GC_GridCoverage getSource(int sourceDataIndex)
throws java.rmi.RemoteException
GridCoverage.getSources().
getSource in interface org.opengis.cv.CV_CoveragegetSource in class Coverage.ExportsourceDataIndex - Source grid coverage index. Indexes start at 0.
java.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public boolean isDataEditable()
throws java.rmi.RemoteException
true if grid data can be edited.
The default implementation invokes GridCoverage.isDataEditable().
isDataEditable in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public org.opengis.gc.GC_GridPacking getGridPacking()
throws java.rmi.RemoteException
getGridPacking in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public org.opengis.gc.GC_GridGeometry getGridGeometry()
throws java.rmi.RemoteException
GridCoverage.getGridGeometry().
getGridGeometry in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public org.opengis.gc.GC_GridGeometry getOverviewGridGeometry(int overviewIndex)
throws java.rmi.RemoteException
ArrayIndexOutOfBoundsException,
since getNumOverviews() returned 0.
getOverviewGridGeometry in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public int getNumOverviews()
throws java.rmi.RemoteException
getNumOverviews in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public org.opengis.gc.GC_GridCoverage getOverview(int overviewIndex)
throws java.rmi.RemoteException
ArrayIndexOutOfBoundsException,
since getNumOverviews() returned 0.
getOverview in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public int[] getOptimalDataBlockSizes()
throws java.rmi.RemoteException
getOptimalDataBlockSizes in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public boolean[] getDataBlockAsBoolean(org.opengis.gc.GC_GridRange gridRange)
throws java.rmi.RemoteException
getDataBlockAsBoolean in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public byte[] getDataBlockAsByte(org.opengis.gc.GC_GridRange gridRange)
throws java.rmi.RemoteException
getDataBlockAsByte in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public int[] getDataBlockAsInteger(org.opengis.gc.GC_GridRange gridRange)
throws java.rmi.RemoteException
getDataBlockAsInteger in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public double[] getValueBlockAsDouble(org.opengis.gc.GC_GridRange gridRange)
throws java.rmi.RemoteException
getValueBlockAsDouble in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public byte[] getPackedDataBlock(org.opengis.gc.GC_GridRange gridRange)
throws java.rmi.RemoteException
getPackedDataBlock in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public void setDataBlockAsBoolean(org.opengis.gc.GC_GridRange gridRange,
boolean[] values)
throws java.rmi.RemoteException
setDataBlockAsBoolean in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public void setDataBlockAsByte(org.opengis.gc.GC_GridRange gridRange,
byte[] values)
throws java.rmi.RemoteException
setDataBlockAsByte in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public void setDataBlockAsInteger(org.opengis.gc.GC_GridRange gridRange,
int[] values)
throws java.rmi.RemoteException
setDataBlockAsInteger in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public void setDataBlockAsDouble(org.opengis.gc.GC_GridRange gridRange,
double[] values)
throws java.rmi.RemoteException
setDataBlockAsDouble in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public void setPackedDataBlock(org.opengis.gc.GC_GridRange gridRange,
byte[] values)
throws java.rmi.RemoteException
setPackedDataBlock in interface org.opengis.gc.GC_GridCoveragejava.rmi.RemoteException - if a remote call failed. More specifically, the exception will
be an instance of ServerException if an error occurs on the server side.
public java.awt.image.RenderedImage getRenderedImage()
throws java.io.IOException
RenderedImage for this GC_GridCoverage.
This method usually returns an instance of SerializableRenderedImage,
which is appropriate for use through a RMI API.
getRenderedImage in interface GridCoverage.Remotejava.rmi.RemoteException - if the remote connection failed.
java.io.NotSerializableException - if the image is not serializable.
java.io.IOException
public javax.media.jai.Interpolation getInterpolation()
throws java.rmi.RemoteException
evaluate(...) methods.
getInterpolation in interface GridCoverage.Remotejava.rmi.RemoteException - if the remote connection failed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||