com.esri.arcgis.datasourcesraster
Class DrLoader

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.DrLoader
All Implemented Interfaces:
IDrLoader, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DrLoader
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDrLoader

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

Description 'A distributed raster catalog loader.' 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.IDrLoader
IID, IID5e1714cd_cbca_458e_88ce_06f0ca5cccdf, xxDummy
 
Constructor Summary
DrLoader()
          Constructs a DrLoader using ArcGIS Engine.
DrLoader(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DrLoader theDrLoader = (DrLoader) obj;
 
Method Summary
 void cancel()
          Cancels loading.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.String getInvalidDatasets()
          The current list of semicolon delimited failed dataset names.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IErrorInfo getLastError()
          The last loading error.
 IRasterCatalogLoader getRasterCatalogLoader()
          The raster catalog loader to be distributed.
 java.lang.String getServerName()
          The ArcGIS server name to host loaders.
 void getStats(java.lang.String[] pName, double[] pMillis)
          Gets the current loading stats.
 int getThreadHandle()
          Gets the loading thread handle.
 int hashCode()
          the hashcode for this object
 boolean isBusy()
          Indicates if the loader is currently busy.
 void load(java.lang.String catalog, java.lang.String directory)
          Loads all datasets in a directory into a given raster catalog.
 void loadDatasets(java.lang.String catalog, java.lang.String namelist)
          Loads all datasets in a name list into a given raster catalog.
 void release()
          Release a DrLoader.
 void setRasterCatalogLoaderByRef(IRasterCatalogLoader ppLoader)
          The raster catalog loader to be distributed.
 void setServerName(java.lang.String pServerName)
          The ArcGIS server name to host loaders.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrLoader

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

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

DrLoader

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

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

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

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

getServerName

public java.lang.String getServerName()
                               throws java.io.IOException,
                                      AutomationException
The ArcGIS server name to host loaders.

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

setServerName

public void setServerName(java.lang.String pServerName)
                   throws java.io.IOException,
                          AutomationException
The ArcGIS server name to host loaders.

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

getRasterCatalogLoader

public IRasterCatalogLoader getRasterCatalogLoader()
                                            throws java.io.IOException,
                                                   AutomationException
The raster catalog loader to be distributed.

Specified by:
getRasterCatalogLoader in interface IDrLoader
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterCatalogLoader
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRasterCatalogLoaderByRef

public void setRasterCatalogLoaderByRef(IRasterCatalogLoader ppLoader)
                                 throws java.io.IOException,
                                        AutomationException
The raster catalog loader to be distributed.

Specified by:
setRasterCatalogLoaderByRef in interface IDrLoader
Parameters:
ppLoader - A reference to a com.esri.arcgis.datasourcesraster.IRasterCatalogLoader (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInvalidDatasets

public java.lang.String getInvalidDatasets()
                                    throws java.io.IOException,
                                           AutomationException
The current list of semicolon delimited failed dataset names.

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

isBusy

public boolean isBusy()
               throws java.io.IOException,
                      AutomationException
Indicates if the loader is currently busy.

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

getLastError

public IErrorInfo getLastError()
                        throws java.io.IOException,
                               AutomationException
The last loading error.

Specified by:
getLastError in interface IDrLoader
Returns:
A reference to a com.esri.arcgis.system.IErrorInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(java.lang.String catalog,
                 java.lang.String directory)
          throws java.io.IOException,
                 AutomationException
Loads all datasets in a directory into a given raster catalog.

Specified by:
load in interface IDrLoader
Parameters:
catalog - The catalog (in)
directory - The directory (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadDatasets

public void loadDatasets(java.lang.String catalog,
                         java.lang.String namelist)
                  throws java.io.IOException,
                         AutomationException
Loads all datasets in a name list into a given raster catalog.

Specified by:
loadDatasets in interface IDrLoader
Parameters:
catalog - The catalog (in)
namelist - The namelist (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

cancel

public void cancel()
            throws java.io.IOException,
                   AutomationException
Cancels loading.

Specified by:
cancel in interface IDrLoader
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStats

public void getStats(java.lang.String[] pName,
                     double[] pMillis)
              throws java.io.IOException,
                     AutomationException
Gets the current loading stats.

Specified by:
getStats in interface IDrLoader
Parameters:
pName - The pName (out: use single element array)
pMillis - The pMillis (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getThreadHandle

public int getThreadHandle()
                    throws java.io.IOException,
                           AutomationException
Gets the loading thread handle.

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