com.esri.arcgis.datasourcesfile
Interface IArcInfoWorkspace

All Superinterfaces:
Serializable
All Known Implementing Classes:
IArcInfoWorkspaceProxy

public interface IArcInfoWorkspace
extends 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.


Method Summary
 IFeatureDataset createCoverage(String name, String templateCoverage, int precision)
          Creates a new Coverage.
 ITable createInfoTable(String name, IArcInfoItems itemSet)
          Creates a new Info Table.
 

Method Detail

createCoverage

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

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

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

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.