com.esri.arcgis.datasourcesfile
Class DEArcInfoUtilities

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.DEArcInfoUtilities
All Implemented Interfaces:
IDEArcInfoUtilities, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class DEArcInfoUtilities
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDEArcInfoUtilities

ArcInfo Data Element utilities object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
DEArcInfoUtilities()
          Constructs a DEArcInfoUtilities using ArcGIS Engine.
DEArcInfoUtilities(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DEArcInfoUtilities theDEArcInfoUtilities = (DEArcInfoUtilities) obj;
 
Method Summary
 void assignArcInfoTableProperties(IArcInfoTable pArcInfoTable, IDataElement pDataElement)
          Assign ArcInfo table properties.
 void assignCoverageFeatureClassNameProperties(ICoverageFeatureClassName pCoverageFeatureClassName, IDataElement pDataElement)
          Assign coverage feature class name properties.
 void assignCoverageFeatureClassProperties(ICoverageFeatureClass pCoverageFeatureClass, IDataElement pDataElement)
          Assign coverage feature class properties.
 void assignCoverageProperties(ICoverage pCoverage, IDataElement pDataElement)
          Assign coverage properties.
 boolean equals(Object o)
          Compare this object with another
 IGPArcInfoItem findItem(IDEArcInfoTable pDEArcInfoTable, String name)
          FindItem.
static String getClsid()
          getClsid.
 String getCoverageFeatureClassTypeDescription(int type)
          Get coverage feature class type description.
 int getCoverageFeatureClassTypeFromString(String desc)
          Get coverage feature class type from string.
 String getFeatureClassTopologyDescription(int type)
          Get feature class topology description.
 int getFeatureClassTopologyFromString(String desc)
          Get feature class topology from string.
 String getItemTypeDescription(int type)
          Get item type description.
 int getItemTypeFromString(String desc)
          Get item type from string.
 int hashCode()
          the hashcode for this object
 boolean itemExists(IDEArcInfoTable pDEArcInfoTable, IGPArcInfoItem pGPItem)
          Item exists.
 IPropertySet makeDETolerances(ICoverage pCoverage)
          Make tolerances.
 IGPArcInfoItem makeGPItem(IArcInfoItem pItem)
          Make item.
 IArray makeGPItems(IArcInfoItems pItems)
          Make Items.
 
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

DEArcInfoUtilities

public DEArcInfoUtilities()
                   throws IOException,
                          UnknownHostException
Constructs a DEArcInfoUtilities using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

DEArcInfoUtilities

public DEArcInfoUtilities(Object obj)
                   throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DEArcInfoUtilities theDEArcInfoUtilities = (DEArcInfoUtilities) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

assignCoverageProperties

public void assignCoverageProperties(ICoverage pCoverage,
                                     IDataElement pDataElement)
                              throws IOException,
                                     AutomationException
Assign coverage properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
assignCoverageProperties in interface IDEArcInfoUtilities
Parameters:
pCoverage - A reference to a com.esri.arcgis.datasourcesfile.ICoverage (in)
pDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assignArcInfoTableProperties

public void assignArcInfoTableProperties(IArcInfoTable pArcInfoTable,
                                         IDataElement pDataElement)
                                  throws IOException,
                                         AutomationException
Assign ArcInfo table properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
assignArcInfoTableProperties in interface IDEArcInfoUtilities
Parameters:
pArcInfoTable - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoTable (in)
pDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assignCoverageFeatureClassProperties

public void assignCoverageFeatureClassProperties(ICoverageFeatureClass pCoverageFeatureClass,
                                                 IDataElement pDataElement)
                                          throws IOException,
                                                 AutomationException
Assign coverage feature class properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
assignCoverageFeatureClassProperties in interface IDEArcInfoUtilities
Parameters:
pCoverageFeatureClass - A reference to a com.esri.arcgis.datasourcesfile.ICoverageFeatureClass (in)
pDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

assignCoverageFeatureClassNameProperties

public void assignCoverageFeatureClassNameProperties(ICoverageFeatureClassName pCoverageFeatureClassName,
                                                     IDataElement pDataElement)
                                              throws IOException,
                                                     AutomationException
Assign coverage feature class name properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
assignCoverageFeatureClassNameProperties in interface IDEArcInfoUtilities
Parameters:
pCoverageFeatureClassName - A reference to a com.esri.arcgis.datasourcesfile.ICoverageFeatureClassName (in)
pDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeDETolerances

public IPropertySet makeDETolerances(ICoverage pCoverage)
                              throws IOException,
                                     AutomationException
Make tolerances.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
makeDETolerances in interface IDEArcInfoUtilities
Parameters:
pCoverage - A reference to a com.esri.arcgis.datasourcesfile.ICoverage (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeGPItems

public IArray makeGPItems(IArcInfoItems pItems)
                   throws IOException,
                          AutomationException
Make Items.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
makeGPItems in interface IDEArcInfoUtilities
Parameters:
pItems - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItems (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeGPItem

public IGPArcInfoItem makeGPItem(IArcInfoItem pItem)
                          throws IOException,
                                 AutomationException
Make item.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
makeGPItem in interface IDEArcInfoUtilities
Parameters:
pItem - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItem (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IGPArcInfoItem
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoverageFeatureClassTypeFromString

public int getCoverageFeatureClassTypeFromString(String desc)
                                          throws IOException,
                                                 AutomationException
Get coverage feature class type from string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCoverageFeatureClassTypeFromString in interface IDEArcInfoUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.datasourcesfile.esriCoverageFeatureClassType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoverageFeatureClassTypeDescription

public String getCoverageFeatureClassTypeDescription(int type)
                                              throws IOException,
                                                     AutomationException
Get coverage feature class type description.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCoverageFeatureClassTypeDescription in interface IDEArcInfoUtilities
Parameters:
type - A com.esri.arcgis.datasourcesfile.esriCoverageFeatureClassType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureClassTopologyFromString

public int getFeatureClassTopologyFromString(String desc)
                                      throws IOException,
                                             AutomationException
Get feature class topology from string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFeatureClassTopologyFromString in interface IDEArcInfoUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.datasourcesfile.esriFeatureClassTopology constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureClassTopologyDescription

public String getFeatureClassTopologyDescription(int type)
                                          throws IOException,
                                                 AutomationException
Get feature class topology description.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFeatureClassTopologyDescription in interface IDEArcInfoUtilities
Parameters:
type - A com.esri.arcgis.datasourcesfile.esriFeatureClassTopology constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemTypeFromString

public int getItemTypeFromString(String desc)
                          throws IOException,
                                 AutomationException
Get item type from string.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getItemTypeFromString in interface IDEArcInfoUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.datasourcesfile.esriArcInfoItemType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemTypeDescription

public String getItemTypeDescription(int type)
                              throws IOException,
                                     AutomationException
Get item type description.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getItemTypeDescription in interface IDEArcInfoUtilities
Parameters:
type - A com.esri.arcgis.datasourcesfile.esriArcInfoItemType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

itemExists

public boolean itemExists(IDEArcInfoTable pDEArcInfoTable,
                          IGPArcInfoItem pGPItem)
                   throws IOException,
                          AutomationException
Item exists.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
itemExists in interface IDEArcInfoUtilities
Parameters:
pDEArcInfoTable - A reference to a com.esri.arcgis.datasourcesfile.IDEArcInfoTable (in)
pGPItem - A reference to a com.esri.arcgis.datasourcesfile.IGPArcInfoItem (in)
Returns:
The pExists
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findItem

public IGPArcInfoItem findItem(IDEArcInfoTable pDEArcInfoTable,
                               String name)
                        throws IOException,
                               AutomationException
FindItem.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
findItem in interface IDEArcInfoUtilities
Parameters:
pDEArcInfoTable - A reference to a com.esri.arcgis.datasourcesfile.IDEArcInfoTable (in)
name - The name (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IGPArcInfoItem
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.