|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.datasourcesfile.IArcInfoWorkspaceProxy
public class IArcInfoWorkspaceProxy
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.
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IArcInfoWorkspaceProxy()
public IArcInfoWorkspaceProxy(Object obj) throws IOException
IOException
protected IArcInfoWorkspaceProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public 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).
createCoverage
in interface IArcInfoWorkspace
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.public 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.
createInfoTable
in interface IArcInfoWorkspace
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 |