|
|||||||||
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.geodatabase.IScratchWorkspaceFactoryProxy com.esri.arcgis.geodatabase.IScratchWorkspaceFactory2Proxy
public class IScratchWorkspaceFactory2Proxy
Provides access to members to get the current scratch workspace.
IScratchWorkspaceFactory is used to create temporary personal geodatabases in the current user's temporary directory.
The first time IScratchWorkspaceFactory.DefaultScratchWorkspace is called, it will create a new temporary workspace and pass it back. Subsequent calls to this method will return the same workspace. When the application is closed, the default scratch workspace will be deleted.
Workspaces created by IScratchWorkspaceFactory.CreateNewScratchWorkspace will be automatically deleted when the last reference to them is released.
IScratchWorkspaceFactory.CurrentScratchWorkspace will return a null value if the default scratch workspace has not been created yet, otherwise it will return the default scratch workspace.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IScratchWorkspaceFactory2Proxy()
|
|
IScratchWorkspaceFactory2Proxy(Object obj)
|
protected |
IScratchWorkspaceFactory2Proxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
IWorkspace |
getCurrentScratchWorkspace()
The current scratch workspace. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.geodatabase.IScratchWorkspaceFactoryProxy |
---|
createNewScratchWorkspace, getDefaultScratchWorkspace |
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.IScratchWorkspaceFactory |
---|
createNewScratchWorkspace, getDefaultScratchWorkspace |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IScratchWorkspaceFactory2Proxy()
public IScratchWorkspaceFactory2Proxy(Object obj) throws IOException
IOException
protected IScratchWorkspaceFactory2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class IScratchWorkspaceFactoryProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class IScratchWorkspaceFactoryProxy
IOException
public IWorkspace getCurrentScratchWorkspace() throws IOException, AutomationException
IScratchWorkspaceFactory.CurrentScratchWorkspace will return a null value if the default scratch workspace has not been created yet, otherwise it will return the default scratch workspace.
getCurrentScratchWorkspace
in interface IScratchWorkspaceFactory2
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 |