|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IWorkspaceFactoryProxy
com.esri.arcgis.geodatabase.IWorkspaceFactory2Proxy
public class IWorkspaceFactory2Proxy
Provides access to members that create and open workspaces and supply workspace factory information.
The IWorkspaceFactory2 interface was added to allow opening of a Workspace using a connection string which describes the connection properties for the workspace. You can get a workspace's connection string using the ConnectionString property on IWorkspaceName2.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IWorkspaceFactory2Proxy()
|
|
IWorkspaceFactory2Proxy(Object obj)
|
protected |
IWorkspaceFactory2Proxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IWorkspace |
openFromString(String connectStr,
int hWnd)
Opens the workspace specified by a connection string. |
void |
removeListener(String iidStr,
Object theListener)
|
| Methods inherited from class com.esri.arcgis.geodatabase.IWorkspaceFactoryProxy |
|---|
containsWorkspace, copy, create, getClassID, getWorkspaceDescription, getWorkspaceName, getWorkspaceType, isWorkspace, move, open, openFromFile, readConnectionPropertiesFromFile |
| 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 |
| Methods inherited from interface com.esri.arcgis.geodatabase.IWorkspaceFactory |
|---|
containsWorkspace, copy, create, getClassID, getWorkspaceDescription, getWorkspaceName, getWorkspaceType, isWorkspace, move, open, openFromFile, readConnectionPropertiesFromFile |
| Field Detail |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IWorkspaceFactory2Proxy()
public IWorkspaceFactory2Proxy(Object obj)
throws IOException
IOException
protected IWorkspaceFactory2Proxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class IWorkspaceFactoryProxyIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class IWorkspaceFactoryProxyIOException
public IWorkspace openFromString(String connectStr,
int hWnd)
throws IOException,
AutomationException
The connect string is a collection of name value pairs separated by a semicolon (;).
openFromString in interface IWorkspaceFactory2connectStr - The connectStr (in)hWnd - The hWnd (A COM typedef) (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 | ||||||||