|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IArcInfoWorkspace
Provides access to members that create ArcInfo Coverages and Tables.
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:
Use this interface to create new empty coverages or Info tables.
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 |
---|
IFeatureDataset createCoverage(String name, String templateCoverage, int precision) throws IOException, AutomationException
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).
name
- The name (in)templateCoverage
- The templateCoverage (in)precision
- A com.esri.arcgis.datasourcesfile.esriCoveragePrecisionType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITable createInfoTable(String name, IArcInfoItems itemSet) throws IOException, AutomationException
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.
name
- The name (in)itemSet
- A reference to a com.esri.arcgis.datasourcesfile.IArcInfoItems (in)
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 |