com.esri.arcgis.datasourcesfile
Class IArcInfoWorkspaceProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.IArcInfoWorkspaceProxy
All Implemented Interfaces:
IArcInfoWorkspace, Externalizable, Serializable

public class IArcInfoWorkspaceProxy
extends com.esri.arcgis.interop.Dispatch
implements IArcInfoWorkspace, Serializable

Provides access to members that create ArcInfo Coverages and Tables.

Remarks

This interface is used to create new empty coverages or Info tables in an ArcInfo workspace.

The following example shows how to get this interface:

When To Use

Use this interface to create new empty coverages or Info tables.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IArcInfoWorkspaceProxy()
           
  IArcInfoWorkspaceProxy(Object obj)
           
protected IArcInfoWorkspaceProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IFeatureDataset createCoverage(String name, String templateCoverage, int precision)
          Creates a new Coverage.
 ITable createInfoTable(String name, IArcInfoItems itemSet)
          Creates a new Info Table.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IArcInfoWorkspaceProxy

public IArcInfoWorkspaceProxy()

IArcInfoWorkspaceProxy

public IArcInfoWorkspaceProxy(Object obj)
                       throws IOException
Throws:
IOException

IArcInfoWorkspaceProxy

protected IArcInfoWorkspaceProxy(Object obj,
                                 String iid)
                          throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

createCoverage

public IFeatureDataset createCoverage(String name,
                                      String templateCoverage,
                                      int precision)
                               throws IOException,
                                      AutomationException
Creates a new Coverage.

Remarks

CreateCoverage creates a new ArcInfo coverage in the workspace that is being referenced. The IFeatureDataset that is returned can be used to create new feature classes within the coverage.

The coverage name cannot be a path, cannot exists, and must be a legal ArcInfo coverage name.

If a templatecoverage is not specified or the name is not a valid coverage, the new coverage will only have an empty Tic file. When a template coverage is used the new coverage will have the same Tics, bnd (boundary), and prj (projection).

The precision enumerator is used to specify whether the coverage has single (7 significant digits for each coordinate) or double precision (15 significant digits for each coordinate).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
createCoverage in interface IArcInfoWorkspace
Parameters:
name - The name (in)
templateCoverage - The templateCoverage (in)
precision - A com.esri.arcgis.datasourcesfile.esriCoveragePrecisionType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createInfoTable

public ITable createInfoTable(String name,
                              IArcInfoItems itemSet)
                       throws IOException,
                              AutomationException
Creates a new Info Table.

Remarks

CreateInfoTable creates a new Info table in the workspace that is being referenced. The ITable pointer that is returned can be used to add, later and delete items in the table.

The name argument, for the name of the new table, can be up to 32 characters long inclusive of the extension. The name cannot be an existing info table. The table will be created in the workspace used to by the IArcInfoWorkspace, path names are are recognized by this method.

The ItemSet object must be given, although it does not have to contain any items. If the ItemSet contains items they will be created in the new table.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
createInfoTable in interface IArcInfoWorkspace
Parameters:
name - The name (in)
itemSet - A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItems (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.