|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.RasterExporter
public class RasterExporter
A helper class for converting a Raster to an in-memory image.
| Constructor Summary | |
|---|---|
RasterExporter()
Constructs a RasterExporter using ArcGIS Engine. |
|
RasterExporter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterExporter theRasterExporter = (RasterExporter) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
byte[] |
exportToBytes(IRaster pRaster,
String format)
Converts a raster into a Bitmap. |
static String |
getClsid()
getClsid. |
IRasterRenderer |
getRasterRenderer()
The raster renderer used for conversion. |
int |
hashCode()
the hashcode for this object |
void |
setRasterRendererByRef(IRasterRenderer ppRenderer)
The raster renderer used for conversion. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public RasterExporter()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RasterExporter(Object obj)
throws IOException
RasterExporter theRasterExporter = (RasterExporter) obj;
obj to RasterExporter.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IRasterRenderer getRasterRenderer()
throws IOException,
AutomationException
A raster renderer can be get and set, and utilized during raster convertion.
getRasterRenderer in interface IRasterExporterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRasterRendererByRef(IRasterRenderer ppRenderer)
throws IOException,
AutomationException
setRasterRendererByRef in interface IRasterExporterppRenderer - A reference to a com.esri.arcgis.carto.IRasterRenderer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] exportToBytes(IRaster pRaster,
String format)
throws IOException,
AutomationException
exportToBytes in interface IRasterExporterpRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)format - The format (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||