|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.geodatabasedistributed.GdbImporter
Geodatabase Importer Object.
GdbExporter,
Serialized Form| 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. |
|
| Method Summary | |
void |
addIFeatureProgressListener(IFeatureProgress theListener)
|
void |
addIOperationProgressListener(IOperationProgress theListener)
|
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. |
IGdbXmlImport |
getAsIGdbXmlImport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISupportErrorInfo |
getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
static java.lang.String |
getClsid()
|
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)
Supported Platforms |
void |
removeIFeatureProgressListener(IFeatureProgress theListener)
|
void |
removeIOperationProgressListener(IOperationProgress theListener)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GdbImporter()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public GdbImporter(java.lang.Object obj)
throws java.io.IOException
obj to GdbImporter. GdbImporter theGdbImporter = (GdbImporter) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IGdbXmlImport getAsIGdbXmlImport()
public ISupportErrorInfo getAsISupportErrorInfo()
public boolean equals(java.lang.Object o)
public int hashCode()
public void addIFeatureProgressListener(IFeatureProgress theListener)
throws java.io.IOException
java.io.IOException
public void removeIFeatureProgressListener(IFeatureProgress theListener)
throws java.io.IOException
java.io.IOException
public void addIOperationProgressListener(IOperationProgress theListener)
throws java.io.IOException
java.io.IOException
public void removeIOperationProgressListener(IOperationProgress theListener)
throws java.io.IOException
java.io.IOException
public boolean generateNameMapping(java.lang.String inFile,
IWorkspace workspace,
IEnumNameMapping[] enumNameMapping)
throws java.io.IOException,
AutomationException
IGdbXmlImportThe GenerateNameMapping method generates a name mapping enumeration where you pass in inFile, IWorkspace, and IEnumNameMapping.
generateNameMapping in interface IGdbXmlImportinFile - 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IGdbXmlImport
public void importWorkspace(java.lang.String inFile,
IEnumNameMapping enumNameMapping,
IWorkspace pWorkspace,
boolean schemaOnly)
throws java.io.IOException,
AutomationException
IGdbXmlImportThe ImportWorkspace method imports a geodatabase workspace schema and data.
In order to import a workspace, you need to pass in IEnumNameMapping and IWorkspace. The inFile is a string that identifies the input XML file, where you must specify the file extension. For example, if the inFile is an XML file then the outFile should be "foo.xml". Otherwise, the inFile is a .ZIP or .Z file.
If you set schemaOnly to TRUE, the imported workspace will contain the schema and no data. Otherwise, the workspace being imported will contain schema and data.
importWorkspace in interface IGdbXmlImportinFile - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.IGdbXmlImport
public void importRecordSet(java.lang.String inFile,
IFields sourceFields,
IFields targetMappedFields,
ITable pTable)
throws java.io.IOException,
AutomationException
IGdbXmlImportThe ImportRecordSet method imports a geodatabase recordset.
In order to import a recordset, you need to pass in IFields and ITable. The inFile is a string that identifies the input XML file, where you must specify the file extension. For example, if the inFile is an XML file then the outFile should be "foo.xml". Otherwise, the inFile is a .ZIP or .Z file.
importRecordSet in interface IGdbXmlImportinFile - 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.IGdbXmlImport
public IFields getRecordSetFields(java.lang.String inFile)
throws java.io.IOException,
AutomationException
IGdbXmlImportThe GetRecordSetFields method retrieves recordset fields and records from resulting XML file. You need to pass in inFile as a string that identifies the input XML file.
getRecordSetFields in interface IGdbXmlImportinFile - The inFile (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IGdbXmlImport
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
ISupportErrorInfoIndicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||