|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabasedistributed.GdbExporter
public class GdbExporter
ESRI Geodatabase Exporter object.
GdbImporter,
Serialized Form| Constructor Summary | |
|---|---|
GdbExporter()
Constructs a GdbExporter using ArcGIS Engine. |
|
GdbExporter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GdbExporter theGdbExporter = (GdbExporter) obj; |
|
| Method Summary | |
|---|---|
void |
addIFeatureProgressListener(IFeatureProgress theListener)
addIFeatureProgressListener. |
void |
addIGdbXmlExportEventsListener(IGdbXmlExportEvents theListener)
addIGdbXmlExportEventsListener. |
void |
addIOperationProgressListener(IOperationProgress theListener)
addIOperationProgressListener. |
boolean |
equals(Object o)
Compare this object with another |
void |
exportDatasets(IEnumNameMapping enumNameMapping,
String outFile,
boolean binaryGeometry,
boolean compressed,
boolean retrieveMetadata)
Exports datasets to XML. |
void |
exportDatasetsSchema(IEnumNameMapping enumNameMapping,
String outFile,
boolean compressed,
boolean retrieveMetadata)
Exports datasets schema to XML. |
void |
exportRecordSet(ITableName pTableName,
String outFile,
boolean binaryGeometry,
boolean compressed)
Exports a single tabular dataset to XML. |
void |
exportWorkspace(IWorkspace workspace,
String outFile,
boolean binaryGeometry,
boolean compressed,
boolean retrieveMetadata)
Exports a workspace to XML. |
void |
exportWorkspaceSchema(IWorkspace workspace,
String outFile,
boolean compressed,
boolean retrieveMetadata)
Exports a workspace schema to XML. |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
removeIFeatureProgressListener(IFeatureProgress theListener)
removeIFeatureProgressListener. |
void |
removeIGdbXmlExportEventsListener(IGdbXmlExportEvents theListener)
removeIGdbXmlExportEventsListener. |
void |
removeIOperationProgressListener(IOperationProgress theListener)
removeIOperationProgressListener. |
void |
setNamespaceToExportTo(String rhs1)
The namespace (version) to export to. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public GdbExporter()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public GdbExporter(Object obj)
throws IOException
GdbExporter theGdbExporter = (GdbExporter) obj;
obj to GdbExporter.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void addIFeatureProgressListener(IFeatureProgress theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
IOException - If there are communications problems.
public void removeIFeatureProgressListener(IFeatureProgress theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
IOException - If there are communications problems.
public void addIOperationProgressListener(IOperationProgress theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.geodatabasedistributed.IOperationProgress interface.
IOException - If there are communications problems.
public void removeIOperationProgressListener(IOperationProgress theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.geodatabasedistributed.IOperationProgress interface.
IOException - If there are communications problems.
public void addIGdbXmlExportEventsListener(IGdbXmlExportEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.geodatabasedistributed.IGdbXmlExportEvents interface.
IOException - If there are communications problems.
public void removeIGdbXmlExportEventsListener(IGdbXmlExportEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.geodatabasedistributed.IGdbXmlExportEvents interface.
IOException - If there are communications problems.
public void exportWorkspace(IWorkspace workspace,
String outFile,
boolean binaryGeometry,
boolean compressed,
boolean retrieveMetadata)
throws IOException,
AutomationException
The ExportWorkspace method exports a geodatabase workspace schema and data.
In order to export a workspace, you need to pass in IWorkspace. The outFile is a string that identifies the output XML filename. The filename must have a "xml" file extension, for example, "C:\temp\file.xml".
If you set binaryGeometry to TRUE, the exported workspace will be in binary format. Otherwise, the workspace will be in normalized format.
If you set compressed to TRUE, the outFile file extension must be set to ".ZIP" or ".Z".
If you set retrieveMetadata to TRUE, the resulting XML file will contain metadata. Metadata must be created prior to exporting.
exportWorkspace in interface IGdbXmlExportworkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)outFile - The outFile (in)binaryGeometry - The binaryGeometry (in)compressed - The compressed (in)retrieveMetadata - The retrieveMetadata (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exportWorkspaceSchema(IWorkspace workspace,
String outFile,
boolean compressed,
boolean retrieveMetadata)
throws IOException,
AutomationException
The ExportWorkspaceSchema method exports workspace schema only.
In order to export a workspace, you need to pass in IWorkspace. The outFile is a string that identifies the output XML filename. The filename must have a "xml" file extension, for example, "C:\temp\file.xml".
If you set compressed to TRUE, the outFile file extension must be set to ".ZIP" or ".Z".
If you set retrieveMetadata to TRUE, the resulting XML file will contain metadata. Metadata must be created prior to exporting.
exportWorkspaceSchema in interface IGdbXmlExportworkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)outFile - The outFile (in)compressed - The compressed (in)retrieveMetadata - The retrieveMetadata (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exportDatasets(IEnumNameMapping enumNameMapping,
String outFile,
boolean binaryGeometry,
boolean compressed,
boolean retrieveMetadata)
throws IOException,
AutomationException
The ExportDatasets method exports workspace schema and data.
In order to export datasets, you need to pass in IEnumNameMapping. The outFile is a string that identifies the output XML filename. The filename must have a "xml" file extension, for example, "C:\temp\file.xml".
If you set binaryGeometry to TRUE, the exported workspace will be in binary format. Otherwise, the workspace will be in normalized format.
If you set compressed to TRUE, the outFile file extension must be set to .ZIP or .Z.
If you set retrieveMetadata to TRUE, the resulting XML file will contain metadata. Metadata must be created prior to exporting.
exportDatasets in interface IGdbXmlExportenumNameMapping - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (in)outFile - The outFile (in)binaryGeometry - The binaryGeometry (in)compressed - The compressed (in)retrieveMetadata - The retrieveMetadata (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exportDatasetsSchema(IEnumNameMapping enumNameMapping,
String outFile,
boolean compressed,
boolean retrieveMetadata)
throws IOException,
AutomationException
The ExportDatasetsSchema method exports workspace schema only.
In order to export datasets schema, you need to pass in IEnumNameMapping. The outFile is a string that identifies the output XML filename. The filename must have a "xml" file extension, for example, "C:\temp\file.xml".
If you set compressed to TRUE, the outFile file extension must be set to .ZIP or .Z.
If you set retrieveMetadata to TRUE, the resulting XML file will contain metadata. Metadata must be created prior to exporting.
exportDatasetsSchema in interface IGdbXmlExportenumNameMapping - A reference to a com.esri.arcgis.geodatabase.IEnumNameMapping (in)outFile - The outFile (in)compressed - The compressed (in)retrieveMetadata - The retrieveMetadata (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exportRecordSet(ITableName pTableName,
String outFile,
boolean binaryGeometry,
boolean compressed)
throws IOException,
AutomationException
The ExportRecordSet method exports a recordset.
In order to export recordset, you need to pass in ITableName. The outFile is a string that identifies the output XML filename. The filename must have a "xml" file extension, for example, "C:\temp\file.xml".
If you set binaryGeometry to TRUE, the exported workspace will be in binary format. Otherwise, the workspace will be in normalized format.
If you set compressed to TRUE, the outFile file extension must be set to .ZIP or .Z.
exportRecordSet in interface IGdbXmlExportpTableName - A reference to a com.esri.arcgis.geodatabase.ITableName (in)outFile - The outFile (in)binaryGeometry - The binaryGeometry (in)compressed - The compressed (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNamespaceToExportTo(String rhs1)
throws IOException,
AutomationException
setNamespaceToExportTo in interface IXMLDocumentVersionrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||