com.esri.arcgis.geodatabasedistributed
Class GdbImporter

java.lang.Object
  extended by com.esri.arcgis.geodatabasedistributed.GdbImporter
All Implemented Interfaces:
IGdbXmlImport, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class GdbImporter
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGdbXmlImport, ISupportErrorInfo

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

Description 'Esri Geodatabase Importer object.' 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.geodatabasedistributed.IGdbXmlImport
IID, IID56cb26fb_6abf_4eb7_9f39_9ec7248c0873, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
GdbImporter()
          Constructs a GdbImporter using ArcGIS Engine.
GdbImporter(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GdbImporter theGdbImporter = (GdbImporter) obj;
 
Method Summary
 void addIFeatureProgressListener(IFeatureProgress theListener)
          addIFeatureProgressListener.
 void addIOperationProgressListener(IOperationProgress theListener)
          addIOperationProgressListener.
 boolean equals(java.lang.Object o)
          Compare this object with another
 boolean generateNameMapping(java.lang.String inFile, IWorkspace workspace, IEnumNameMapping[] enumNameMapping)
          Generate a list of objects to import.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IFields getRecordSetFields(java.lang.String inFile)
          Generate a fieldset to load from xml.
 int hashCode()
          the hashcode for this object
 void importRecordSet(java.lang.String inFile, IFields sourceFields, IFields targetMappedFields, ITable pTable)
          Loading data from xml recordset.
 void importWorkspace(java.lang.String inFile, IEnumNameMapping enumNameMapping, IWorkspace pWorkspace, boolean schemaOnly)
          Imports a workspace from XML.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a GdbImporter.
 void removeIFeatureProgressListener(IFeatureProgress theListener)
          removeIFeatureProgressListener.
 void removeIOperationProgressListener(IOperationProgress theListener)
          removeIOperationProgressListener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GdbImporter

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

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

GdbImporter

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

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

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

addIFeatureProgressListener

public void addIFeatureProgressListener(IFeatureProgress theListener)
                                 throws java.io.IOException
addIFeatureProgressListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
Throws:
java.io.IOException - If there are communications problems.

removeIFeatureProgressListener

public void removeIFeatureProgressListener(IFeatureProgress theListener)
                                    throws java.io.IOException
removeIFeatureProgressListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
Throws:
java.io.IOException - If there are communications problems.

addIOperationProgressListener

public void addIOperationProgressListener(IOperationProgress theListener)
                                   throws java.io.IOException
addIOperationProgressListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabasedistributed.IOperationProgress interface.
Throws:
java.io.IOException - If there are communications problems.

removeIOperationProgressListener

public void removeIOperationProgressListener(IOperationProgress theListener)
                                      throws java.io.IOException
removeIOperationProgressListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabasedistributed.IOperationProgress interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a GdbImporter.

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

generateNameMapping

public boolean generateNameMapping(java.lang.String inFile,
                                   IWorkspace workspace,
                                   IEnumNameMapping[] enumNameMapping)
                            throws java.io.IOException,
                                   AutomationException
Generate a list of objects to import.

Specified by:
generateNameMapping in interface IGdbXmlImport
Parameters:
inFile - The inFile (in)
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
enumNameMapping - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (out: use single element array)
Returns:
The hasConflict
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importWorkspace

public void importWorkspace(java.lang.String inFile,
                            IEnumNameMapping enumNameMapping,
                            IWorkspace pWorkspace,
                            boolean schemaOnly)
                     throws java.io.IOException,
                            AutomationException
Imports a workspace from XML.

Specified by:
importWorkspace in interface IGdbXmlImport
Parameters:
inFile - The inFile (in)
enumNameMapping - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (in)
pWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
schemaOnly - The schemaOnly (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importRecordSet

public void importRecordSet(java.lang.String inFile,
                            IFields sourceFields,
                            IFields targetMappedFields,
                            ITable pTable)
                     throws java.io.IOException,
                            AutomationException
Loading data from xml recordset.

Specified by:
importRecordSet in interface IGdbXmlImport
Parameters:
inFile - The inFile (in)
sourceFields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
targetMappedFields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
pTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRecordSetFields

public IFields getRecordSetFields(java.lang.String inFile)
                           throws java.io.IOException,
                                  AutomationException
Generate a fieldset to load from xml.

Specified by:
getRecordSetFields in interface IGdbXmlImport
Parameters:
inFile - The inFile (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
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.