|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabaseui.ExportOperation
public class ExportOperation
ExportOperation class used to export a table or feature class.
Constructor Summary | |
---|---|
ExportOperation()
Constructs a ExportOperation using ArcGIS Engine. |
|
ExportOperation(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ExportOperation theExportOperation = (ExportOperation) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
exportFeatureClass(IDatasetName inputDatasetName,
IQueryFilter inputQueryFilter,
ISelectionSet inputSelectionSet,
IGeometryDef inputGeometryDef,
IFeatureClassName outputFClassName,
int parantHWnd)
Exports the given feature class to a new feature class. |
void |
exportTable(IDatasetName inputDatasetName,
IQueryFilter inputQueryFilter,
ISelectionSet inputSelectionSet,
IDatasetName outputDatasetName,
int parentHWnd)
Exports the given table to a new table. |
static String |
getClsid()
getClsid. |
IDatasetName |
getOptions(IFeatureClass featureClass,
String layerName,
boolean hasSelection,
boolean supportMapProjection,
int parentHWnd,
boolean[] saveProjection,
int[] option)
Provides a dialog that prompts for export options. |
int |
hashCode()
the hashcode for this object |
boolean |
isCancelled(IFeatureProgressIsCancelledEvent theEvent)
Indicates whether the cancel button is pressed. |
void |
setFeatureClassName(IFeatureProgressSetFeatureClassNameEvent theEvent)
Input feature class name. |
void |
setMaxFeatures(IFeatureProgressSetMaxFeaturesEvent theEvent)
Maximum number of features/rows in the input object class. |
void |
setMinFeatures(IFeatureProgressSetMinFeaturesEvent theEvent)
Minimum number of features/rows in the input objectclass. |
void |
setPosition(IFeatureProgressSetPositionEvent theEvent)
Current feature/row that currently converted by the converter. |
void |
setStepValue(IFeatureProgressSetStepValueEvent theEvent)
Current position of conversion. |
void |
step(IFeatureProgressStepEvent theEvent)
Step the progressor interval. |
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 ExportOperation() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ExportOperation(Object obj) throws IOException
ExportOperation theExportOperation = (ExportOperation) obj;
obj
to ExportOperation
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IDatasetName getOptions(IFeatureClass featureClass, String layerName, boolean hasSelection, boolean supportMapProjection, int parentHWnd, boolean[] saveProjection, int[] option) throws IOException, AutomationException
getOptions
in interface IExportOperation
featureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)layerName
- The layerName (in)hasSelection
- The hasSelection (in)supportMapProjection
- The supportMapProjection (in)parentHWnd
- The parentHWnd (A COM typedef) (in)saveProjection
- The saveProjection (out: use single element array)option
- A com.esri.arcgis.geodatabaseui.esriExportTableOptions constant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportTable(IDatasetName inputDatasetName, IQueryFilter inputQueryFilter, ISelectionSet inputSelectionSet, IDatasetName outputDatasetName, int parentHWnd) throws IOException, AutomationException
This method will not export fields with a BLOB type. To retain these fields during an export, use the geoprocessing tool TableToTable.
exportTable
in interface IExportOperation
inputDatasetName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)inputQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)inputSelectionSet
- A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)outputDatasetName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)parentHWnd
- The parentHWnd (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exportFeatureClass(IDatasetName inputDatasetName, IQueryFilter inputQueryFilter, ISelectionSet inputSelectionSet, IGeometryDef inputGeometryDef, IFeatureClassName outputFClassName, int parantHWnd) throws IOException, AutomationException
This method will not export fields with a BLOB type. To retain these fields during an export, use the geoprocessing tool FeatureClassToFeatureClass.
exportFeatureClass
in interface IExportOperation
inputDatasetName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)inputQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)inputSelectionSet
- A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)inputGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)outputFClassName
- A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)parantHWnd
- The parantHWnd (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFeatureClassName(IFeatureProgressSetFeatureClassNameEvent theEvent) throws IOException, AutomationException
setFeatureClassName
in interface IFeatureProgress
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinFeatures(IFeatureProgressSetMinFeaturesEvent theEvent) throws IOException, AutomationException
setMinFeatures
in interface IFeatureProgress
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxFeatures(IFeatureProgressSetMaxFeaturesEvent theEvent) throws IOException, AutomationException
setMaxFeatures
in interface IFeatureProgress
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPosition(IFeatureProgressSetPositionEvent theEvent) throws IOException, AutomationException
setPosition
in interface IFeatureProgress
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStepValue(IFeatureProgressSetStepValueEvent theEvent) throws IOException, AutomationException
setStepValue
in interface IFeatureProgress
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void step(IFeatureProgressStepEvent theEvent) throws IOException, AutomationException
The Step method is fired automatically for every x number of features,where x is the value of StepValue. You can use this event to keep a count of how many features have been converted. The IsCancelled, property is fetched by the converter after every call to Step.
step
in interface IFeatureProgress
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCancelled(IFeatureProgressIsCancelledEvent theEvent) throws IOException, AutomationException
The IsCancelled, property is fetched by the converter after every call to Step.
isCancelled
in interface IFeatureProgress
theEvent
- The event
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 |