com.esri.arcgis.geoanalyst
Class RasterConvertHelper

java.lang.Object
  extended by com.esri.arcgis.geoanalyst.RasterConvertHelper
All Implemented Interfaces:
IRasterConvertHelper, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class RasterConvertHelper
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterConvertHelper, ISupportErrorInfo

COM Class 'RasterConvertHelper'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoAnalyst.olb'

Description 'Raster conversion helper class.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geoanalyst.IRasterConvertHelper
IID, IIDdebd3029_7f6f_11d4_b278_00508bcdc779, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
RasterConvertHelper()
          Constructs a RasterConvertHelper using ArcGIS Engine.
RasterConvertHelper(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterConvertHelper theRasterConvertHelper = (RasterConvertHelper) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a RasterConvertHelper.
 IRaster toRaster1(IGeoDataset pIn1, java.lang.String rasterFormat, IRasterAnalysisEnvironment rasterEnv)
          Converts a GeoDataset to a Raster.
 void toRaster2(IGeoDataset pIn1, IGeoDataset pIn2, java.lang.String rasterFormat, IRasterAnalysisEnvironment rasterEnv, IRaster[] ppOut1, IRaster[] ppOut2)
          Converts two GeoDatasets to two Rasters.
 void toRaster3(IGeoDataset pIn1, IGeoDataset pIn2, IGeoDataset pIn3, java.lang.String rasterFormat, IRasterAnalysisEnvironment rasterEnv, IRaster[] ppOut1, IRaster[] ppOut2, IRaster[] ppOut3)
          Converts three GeoDatasets to three Rasters.
 IFeatureClass toShapefile(IGeoDataset pIn, int geometryType, IRasterAnalysisEnvironment rasterEnv)
          Converts a GeoDataset to a shapefile.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterConvertHelper

public RasterConvertHelper()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a RasterConvertHelper using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RasterConvertHelper

public RasterConvertHelper(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterConvertHelper theRasterConvertHelper = (RasterConvertHelper) obj;

Construct a RasterConvertHelper using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterConvertHelper.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RasterConvertHelper.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

toRaster1

public IRaster toRaster1(IGeoDataset pIn1,
                         java.lang.String rasterFormat,
                         IRasterAnalysisEnvironment rasterEnv)
                  throws java.io.IOException,
                         AutomationException
Converts a GeoDataset to a Raster.

Specified by:
toRaster1 in interface IRasterConvertHelper
Parameters:
pIn1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
rasterFormat - The rasterFormat (in)
rasterEnv - A reference to a com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRaster
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toRaster2

public void toRaster2(IGeoDataset pIn1,
                      IGeoDataset pIn2,
                      java.lang.String rasterFormat,
                      IRasterAnalysisEnvironment rasterEnv,
                      IRaster[] ppOut1,
                      IRaster[] ppOut2)
               throws java.io.IOException,
                      AutomationException
Converts two GeoDatasets to two Rasters.

Specified by:
toRaster2 in interface IRasterConvertHelper
Parameters:
pIn1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
pIn2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
rasterFormat - The rasterFormat (in)
rasterEnv - A reference to a com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment (in)
ppOut1 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
ppOut2 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toRaster3

public void toRaster3(IGeoDataset pIn1,
                      IGeoDataset pIn2,
                      IGeoDataset pIn3,
                      java.lang.String rasterFormat,
                      IRasterAnalysisEnvironment rasterEnv,
                      IRaster[] ppOut1,
                      IRaster[] ppOut2,
                      IRaster[] ppOut3)
               throws java.io.IOException,
                      AutomationException
Converts three GeoDatasets to three Rasters.

Specified by:
toRaster3 in interface IRasterConvertHelper
Parameters:
pIn1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
pIn2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
pIn3 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
rasterFormat - The rasterFormat (in)
rasterEnv - A reference to a com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment (in)
ppOut1 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
ppOut2 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
ppOut3 - A reference to a com.esri.arcgis.geodatabase.IRaster (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

toShapefile

public IFeatureClass toShapefile(IGeoDataset pIn,
                                 int geometryType,
                                 IRasterAnalysisEnvironment rasterEnv)
                          throws java.io.IOException,
                                 AutomationException
Converts a GeoDataset to a shapefile.

Specified by:
toShapefile in interface IRasterConvertHelper
Parameters:
pIn - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
geometryType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
rasterEnv - A reference to a com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.