public class IWorkspaceFactoryProxy extends com.esri.arcgis.interop.Dispatch implements IWorkspaceFactory, java.io.Serializable
Description: 'Provides access to members that create and open workspaces and supply workspace factory information.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Modifier and Type | Field and Description |
|---|---|
boolean |
noncastable |
static java.lang.Class |
targetClass |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRefIID, IIDf173fc16_d63a_11d1_aa81_00c04fa33a15| Modifier | Constructor and Description |
|---|---|
|
IWorkspaceFactoryProxy()
For internal use only
|
|
IWorkspaceFactoryProxy(java.lang.Object obj) |
protected |
IWorkspaceFactoryProxy(java.lang.Object obj,
java.lang.String iid) |
|
IWorkspaceFactoryProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
protected |
IWorkspaceFactoryProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
boolean |
containsWorkspace(java.lang.String parentDirectory,
IFileNames fileNames)
Indicates if parentDirectory contains a valid workspace, or is a valid file-system workspace.
|
boolean |
copy(IWorkspaceName workspaceName,
java.lang.String destinationFolder,
IWorkspaceName[] workspaceNameCopy)
Copies a workspace to the specified destination folder.
|
IWorkspaceName |
create(java.lang.String parentDirectory,
java.lang.String name,
IPropertySet connectionProperties,
int hWnd)
Creates a new workspace specified by the directory, file name, and connection properties.
|
IUID |
getClassID()
The class ID of the WorkspaceFactory.
|
java.lang.String |
getWorkspaceDescription(boolean plural)
A singular or plural description of the type of workspace the workspace factory opens/creates.
|
IWorkspaceName |
getWorkspaceName(java.lang.String parentDirectory,
IFileNames fileNames)
Retrieves the workspace name of a workspace from the given list of file names.
|
int |
getWorkspaceType()
The type of workspace the workspace factory opens/creates.
|
boolean |
isWorkspace(java.lang.String fileName)
True if the specified file identifies a workspace supported by the workspace factory.
|
boolean |
move(IWorkspaceName workspaceName,
java.lang.String destinationFolder)
Moves a workspace to the specified destination folder.
|
IWorkspace |
open(IPropertySet connectionProperties,
int hWnd)
Opens the workspace specified by the connection properties.
|
IWorkspace |
openFromFile(java.lang.String fileName,
int hWnd)
Opens the workspace specified by the given file name.
|
IPropertySet |
readConnectionPropertiesFromFile(java.lang.String fileName)
The connection properties from the specified file.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object.
|
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, writeExternalpublic static final java.lang.Class targetClass
public boolean noncastable
public IWorkspaceFactoryProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
java.net.UnknownHostExceptionjava.io.IOExceptionpublic IWorkspaceFactoryProxy()
public IWorkspaceFactoryProxy(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionprotected IWorkspaceFactoryProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
java.io.IOExceptionprotected IWorkspaceFactoryProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.io.IOException
java.io.IOExceptionpublic void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
com.esri.arcgis.interop.DispatchaddListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the eventsjava.io.IOExceptionpublic void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
com.esri.arcgis.interop.DispatchremoveListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the eventsjava.io.IOExceptionpublic IWorkspace open(IPropertySet connectionProperties, int hWnd) throws java.io.IOException, AutomationException
open in interface IWorkspaceFactoryconnectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)hWnd - The hWnd (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IWorkspace openFromFile(java.lang.String fileName, int hWnd) throws java.io.IOException, AutomationException
openFromFile in interface IWorkspaceFactoryfileName - The fileName (in)hWnd - The hWnd (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IWorkspaceName create(java.lang.String parentDirectory, java.lang.String name, IPropertySet connectionProperties, int hWnd) throws java.io.IOException, AutomationException
create in interface IWorkspaceFactoryparentDirectory - The parentDirectory (in)name - The name (in)connectionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)hWnd - The hWnd (A COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean containsWorkspace(java.lang.String parentDirectory,
IFileNames fileNames)
throws java.io.IOException,
AutomationException
containsWorkspace in interface IWorkspaceFactoryparentDirectory - The parentDirectory (in)fileNames - A reference to a com.esri.arcgis.system.IFileNames (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IWorkspaceName getWorkspaceName(java.lang.String parentDirectory, IFileNames fileNames) throws java.io.IOException, AutomationException
getWorkspaceName in interface IWorkspaceFactoryparentDirectory - The parentDirectory (in)fileNames - A reference to a com.esri.arcgis.system.IFileNames (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IUID getClassID() throws java.io.IOException, AutomationException
getClassID in interface IWorkspaceFactoryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isWorkspace(java.lang.String fileName)
throws java.io.IOException,
AutomationException
isWorkspace in interface IWorkspaceFactoryfileName - The fileName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet readConnectionPropertiesFromFile(java.lang.String fileName) throws java.io.IOException, AutomationException
readConnectionPropertiesFromFile in interface IWorkspaceFactoryfileName - The fileName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getWorkspaceDescription(boolean plural)
throws java.io.IOException,
AutomationException
getWorkspaceDescription in interface IWorkspaceFactoryplural - The plural (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getWorkspaceType()
throws java.io.IOException,
AutomationException
getWorkspaceType in interface IWorkspaceFactoryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean copy(IWorkspaceName workspaceName, java.lang.String destinationFolder, IWorkspaceName[] workspaceNameCopy) throws java.io.IOException, AutomationException
copy in interface IWorkspaceFactoryworkspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)destinationFolder - The destinationFolder (in)workspaceNameCopy - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean move(IWorkspaceName workspaceName, java.lang.String destinationFolder) throws java.io.IOException, AutomationException
move in interface IWorkspaceFactoryworkspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)destinationFolder - The destinationFolder (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.