|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.FeatureDataConverter
public class FeatureDataConverter
Converts a featuredataset to a Personal Geodatabase/Geodatabase featuredataset.
Constructor Summary | |
---|---|
FeatureDataConverter()
Constructs a FeatureDataConverter using ArcGIS Engine. |
|
FeatureDataConverter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FeatureDataConverter theFeatureDataConverter = (FeatureDataConverter) obj; |
Method Summary | |
---|---|
void |
addIFeatureProgressListener(IFeatureProgress theListener)
addIFeatureProgressListener. |
IEnumInvalidObject |
convertFeatureClass(IDatasetName inputFClassName,
IQueryFilter inputQueryFilter,
ISelectionSet inputSelectionSet,
IFeatureDatasetName outputFDatasetName,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
IFields outputFields,
String configKey,
int flushInterval,
int parentHWND)
Converts a featureClass to a Personal Geodatabase/Geodatabase featureClass. |
IEnumInvalidObject |
convertFeatureClass(IFeatureClassName inputDatasetName,
IQueryFilter inputQueryFilter,
IFeatureDatasetName outputFDatasetName,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
IFields outputFields,
String configKey,
int flushInterval,
int parentHWND)
Converts a featureClass to a Personal Geodatabase/Geodatabase featureClass. |
void |
convertFeatureDataset(IFeatureDatasetName inputFDatasetName,
IFeatureDatasetName outputFDatasetName,
IGeometryDef outputGeometryDef,
String configKey,
int flushInterval,
int parentHWND)
Converts a featureDataset to Personal Geodatabase/Geodatabase featuredataset. |
IEnumInvalidObject |
convertTable(IDatasetName inputDatasetName,
IQueryFilter inputQueryFilter,
IDatasetName outputDatasetName,
IFields outputFields,
String configKey,
int flushInterval,
int parentHWND)
Converts a table to an Personal Geodatabase/Geodatabase table. |
IEnumInvalidObject |
convertTable(IDatasetName inputDatasetName,
IQueryFilter inputQueryFilter,
ISelectionSet inputSelectionSet,
IDatasetName outputDatasetName,
IFields outputFields,
String configKey,
int flushInterval,
int parentHWND)
Converts a table to a Personal Geodatabase/Geodatabase table. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
removeIFeatureProgressListener(IFeatureProgress theListener)
removeIFeatureProgressListener. |
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 FeatureDataConverter() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic FeatureDataConverter(Object obj) throws IOException
FeatureDataConverter theFeatureDataConverter = (FeatureDataConverter) obj;
obj
to FeatureDataConverter
.
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 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 convertFeatureDataset(IFeatureDatasetName inputFDatasetName, IFeatureDatasetName outputFDatasetName, IGeometryDef outputGeometryDef, String configKey, int flushInterval, int parentHWND) throws IOException, AutomationException
ConvertFeatureDataset automates the conversion of feature datasets. Converts only the simple feature classes contained in the source feature dataset. Complex feature classes (annotation, networks) and relationship classes are not converted. The source feature dataset name is appended to the beginning of each of the feature class names in the target feature dataset. For example a target feature dataset, “USA2”, with a source dataset named, “USA”, would have “USA_” appended onto each of its feature class names. The feature class “roads” would be “USA_roads” in the target feature dataset. As a result of this behavior, a feature dataset can only be converted into a given target geodatabase one time without renaming (programmatically) the target feature classes.
convertFeatureDataset
in interface IFeatureDataConverter
convertFeatureDataset
in interface IFeatureDataConverter2
inputFDatasetName
- A reference to a com.esri.arcgis.geodatabase.IFeatureDatasetName (in)outputFDatasetName
- A reference to a com.esri.arcgis.geodatabase.IFeatureDatasetName (in)outputGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)configKey
- The configKey (in)flushInterval
- The flushInterval (in)parentHWND
- The parentHWND (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumInvalidObject convertFeatureClass(IFeatureClassName inputDatasetName, IQueryFilter inputQueryFilter, IFeatureDatasetName outputFDatasetName, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, IFields outputFields, String configKey, int flushInterval, int parentHWND) throws IOException, AutomationException
ConvertFeatureClass automates the conversion of feature class data. This method supports the conversion of simple feature classes (point, line, polygon). Conversion of complex feature classes (geometric network feature classes, SDE 3.x annotation, Geodatabase annotation, coverage annotation) is not supported. Subtypes and domains are not maintained by ConvertFeatureClass.
To create a featureclass with a subset of the columns from the source data use IQueryFilter::SubFields. Make sure to includes the geometry column. The OID column will be ignored. The OutputFields object should include all of the fields.
convertFeatureClass
in interface IFeatureDataConverter
inputDatasetName
- A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)inputQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)outputFDatasetName
- A reference to a com.esri.arcgis.geodatabase.IFeatureDatasetName (in)outputFClassName
- A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)outputGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)outputFields
- A reference to a com.esri.arcgis.geodatabase.IFields (in)configKey
- The configKey (in)flushInterval
- The flushInterval (in)parentHWND
- The parentHWND (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumInvalidObject convertTable(IDatasetName inputDatasetName, IQueryFilter inputQueryFilter, IDatasetName outputDatasetName, IFields outputFields, String configKey, int flushInterval, int parentHWND) throws IOException, AutomationException
ConvertTable Automates the conversion of tables. This method supports the conversion of INFO, dBase, OLE DB, ArcSDE, Personal and File Geodatabase tables.
convertTable
in interface IFeatureDataConverter
inputDatasetName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)inputQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)outputDatasetName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)outputFields
- A reference to a com.esri.arcgis.geodatabase.IFields (in)configKey
- The configKey (in)flushInterval
- The flushInterval (in)parentHWND
- The parentHWND (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumInvalidObject convertFeatureClass(IDatasetName inputFClassName, IQueryFilter inputQueryFilter, ISelectionSet inputSelectionSet, IFeatureDatasetName outputFDatasetName, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, IFields outputFields, String configKey, int flushInterval, int parentHWND) throws IOException, AutomationException
convertFeatureClass
in interface IFeatureDataConverter2
inputFClassName
- 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)outputFDatasetName
- A reference to a com.esri.arcgis.geodatabase.IFeatureDatasetName (in)outputFClassName
- A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)outputGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)outputFields
- A reference to a com.esri.arcgis.geodatabase.IFields (in)configKey
- The configKey (in)flushInterval
- The flushInterval (in)parentHWND
- The parentHWND (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumInvalidObject convertTable(IDatasetName inputDatasetName, IQueryFilter inputQueryFilter, ISelectionSet inputSelectionSet, IDatasetName outputDatasetName, IFields outputFields, String configKey, int flushInterval, int parentHWND) throws IOException, AutomationException
convertTable
in interface IFeatureDataConverter2
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)outputFields
- A reference to a com.esri.arcgis.geodatabase.IFields (in)configKey
- The configKey (in)flushInterval
- The flushInterval (in)parentHWND
- The parentHWND (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws IOException, AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
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 |