|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public 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 IRasterExporter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRasterRendererByRef(IRasterRenderer ppRenderer) throws IOException, AutomationException
setRasterRendererByRef
in interface IRasterExporter
ppRenderer
- 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 IRasterExporter
pRaster
- 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 |