com.esri.arcgis.datasourcesraster
Class RasterLoader

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterLoader
All Implemented Interfaces:
IRasterLoader, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class RasterLoader
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterLoader, ISupportErrorInfo

COM Class 'RasterLoader'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'A raster loader 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.datasourcesraster.IRasterLoader
IID, IIDddaf901c_90e5_4cd5_845e_7b19cc57b629, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
RasterLoader()
          Constructs a RasterLoader using ArcGIS Engine.
RasterLoader(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterLoader theRasterLoader = (RasterLoader) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.Object getBackground()
          The background value to filtered.
static java.lang.String getClsid()
          getClsid.
 java.lang.Object getForeground()
          The foreground value for 1-Bit images.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMosaicColormapMode()
          The colormap mode for loading psdeucolor raster datasets.
 double getPixelAlignmentTolerance()
          The pixel alignment tolerance.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void load(IRasterDataset pDataset, IRaster raster)
          Loads (mosaics) a Raster into a RasterDataset.
 void loadRasters(IRasterDataset pDataset, IArray rasters)
          Loads (mosaics) an array of Rasters into a RasterDataset.
 void release()
          Release a RasterLoader.
 void setBackground(java.lang.Object background)
          The background value to filtered.
 void setForeground(java.lang.Object foreground)
          The foreground value for 1-Bit images.
 void setMosaicColormapMode(int mode)
          The colormap mode for loading psdeucolor raster datasets.
 void setPixelAlignmentTolerance(double tolerance)
          The pixel alignment tolerance.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterLoader

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

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

RasterLoader

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

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

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 RasterLoader.

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

getPixelAlignmentTolerance

public double getPixelAlignmentTolerance()
                                  throws java.io.IOException,
                                         AutomationException
The pixel alignment tolerance.

Specified by:
getPixelAlignmentTolerance in interface IRasterLoader
Returns:
The tolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelAlignmentTolerance

public void setPixelAlignmentTolerance(double tolerance)
                                throws java.io.IOException,
                                       AutomationException
The pixel alignment tolerance.

Specified by:
setPixelAlignmentTolerance in interface IRasterLoader
Parameters:
tolerance - The tolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBackground

public java.lang.Object getBackground()
                               throws java.io.IOException,
                                      AutomationException
The background value to filtered.

Specified by:
getBackground in interface IRasterLoader
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBackground

public void setBackground(java.lang.Object background)
                   throws java.io.IOException,
                          AutomationException
The background value to filtered.

Specified by:
setBackground in interface IRasterLoader
Parameters:
background - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getForeground

public java.lang.Object getForeground()
                               throws java.io.IOException,
                                      AutomationException
The foreground value for 1-Bit images.

Specified by:
getForeground in interface IRasterLoader
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setForeground

public void setForeground(java.lang.Object foreground)
                   throws java.io.IOException,
                          AutomationException
The foreground value for 1-Bit images.

Specified by:
setForeground in interface IRasterLoader
Parameters:
foreground - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMosaicColormapMode

public int getMosaicColormapMode()
                          throws java.io.IOException,
                                 AutomationException
The colormap mode for loading psdeucolor raster datasets.

Specified by:
getMosaicColormapMode in interface IRasterLoader
Returns:
A com.esri.arcgis.datasourcesraster.rstMosaicColormapMode constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMosaicColormapMode

public void setMosaicColormapMode(int mode)
                           throws java.io.IOException,
                                  AutomationException
The colormap mode for loading psdeucolor raster datasets.

Specified by:
setMosaicColormapMode in interface IRasterLoader
Parameters:
mode - A com.esri.arcgis.datasourcesraster.rstMosaicColormapMode constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IRasterDataset pDataset,
                 IRaster raster)
          throws java.io.IOException,
                 AutomationException
Loads (mosaics) a Raster into a RasterDataset.

Specified by:
load in interface IRasterLoader
Parameters:
pDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadRasters

public void loadRasters(IRasterDataset pDataset,
                        IArray rasters)
                 throws java.io.IOException,
                        AutomationException
Loads (mosaics) an array of Rasters into a RasterDataset.

Specified by:
loadRasters in interface IRasterLoader
Parameters:
pDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
rasters - A reference to a com.esri.arcgis.system.IArray (in)
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.