|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.ToolboxWorkspaceFactory
public class ToolboxWorkspaceFactory
COM Class 'ToolboxWorkspaceFactory'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'
Description 'Workspace Factory used to open toolbox workspaces.' 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 =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceFactory2 |
---|
IID, IIDd29cd15f_3014_11d4_8141_00c04f686238, xxDummy |
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceFactory |
---|
IIDf173fc16_d63a_11d1_aa81_00c04fa33a15 |
Fields inherited from interface com.esri.arcgis.geoprocessing.IToolboxWorkspaceFactory |
---|
IID, IID96c1f8ec_cfd4_48f7_8b42_b2b10151bf09, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
ToolboxWorkspaceFactory()
Constructs a ToolboxWorkspaceFactory using ArcGIS Engine. |
|
ToolboxWorkspaceFactory(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ToolboxWorkspaceFactory theToolboxWorkspaceFactory = (ToolboxWorkspaceFactory) obj; |
Method Summary | |
---|---|
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. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IUID |
getClassID()
The class ID of the WorkspaceFactory. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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. |
IWorkspace |
openFromString(java.lang.String connectStr,
int hWnd)
Opens the workspace specified by a connection string. |
IPropertySet |
readConnectionPropertiesFromFile(java.lang.String fileName)
The connection properties from the specified file. |
void |
release()
Release a ToolboxWorkspaceFactory. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToolboxWorkspaceFactory() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic ToolboxWorkspaceFactory(java.lang.Object obj) throws java.io.IOException
ToolboxWorkspaceFactory theToolboxWorkspaceFactory = (ToolboxWorkspaceFactory) obj;
obj
to ToolboxWorkspaceFactory
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IWorkspace open(IPropertySet connectionProperties, int hWnd) throws java.io.IOException, AutomationException
open
in interface IWorkspaceFactory
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 IWorkspace openFromFile(java.lang.String fileName, int hWnd) throws java.io.IOException, AutomationException
openFromFile
in interface IWorkspaceFactory
fileName
- 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 IWorkspaceFactory
parentDirectory
- 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 IWorkspaceFactory
parentDirectory
- 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 IWorkspaceFactory
parentDirectory
- 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 IWorkspaceFactory
java.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 IWorkspaceFactory
fileName
- 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 IWorkspaceFactory
fileName
- 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 IWorkspaceFactory
plural
- 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 IWorkspaceFactory
java.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 IWorkspaceFactory
workspaceName
- 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 IWorkspaceFactory
workspaceName
- 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.public IWorkspace openFromString(java.lang.String connectStr, int hWnd) throws java.io.IOException, AutomationException
openFromString
in interface IWorkspaceFactory2
connectStr
- The connectStr (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 void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 |