com.esri.arcgis.geoprocessing
Class StandaloneCatalogPathParser

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.StandaloneCatalogPathParser
All Implemented Interfaces:
IWorkspaceDataElements, com.esri.arcgis.interop.RemoteObjRef, IParseNameString, Serializable

public class StandaloneCatalogPathParser
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IParseNameString, IWorkspaceDataElements

Standalone Catalog Path Parser.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
StandaloneCatalogPathParser()
          Constructs a StandaloneCatalogPathParser using ArcGIS Engine.
StandaloneCatalogPathParser(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
StandaloneCatalogPathParser theStandaloneCatalogPathParser = (StandaloneCatalogPathParser) obj;
 
Method Summary
 boolean canParse(String nameString)
          Indicates if the given name string can be parsed by this parser.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IDataElement getDatasetDataElement(Object datasetSpec, IDEBrowseOptions browseOptions)
          Returns the data element for the in-bound dataset name or dataset object.
 IDataElement getWorkspaceDataElement(IDEBrowseOptions browseOptions)
          The data element for the workspace.
 int hashCode()
          the hashcode for this object
 IName parse(String nameString)
          Parses the name string and returns a new Name object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

StandaloneCatalogPathParser

public StandaloneCatalogPathParser()
                            throws IOException,
                                   UnknownHostException
Constructs a StandaloneCatalogPathParser using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

StandaloneCatalogPathParser

public StandaloneCatalogPathParser(Object obj)
                            throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
StandaloneCatalogPathParser theStandaloneCatalogPathParser = (StandaloneCatalogPathParser) obj;

Construct a StandaloneCatalogPathParser using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to StandaloneCatalogPathParser.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

canParse

public boolean canParse(String nameString)
                 throws IOException,
                        AutomationException
Indicates if the given name string can be parsed by this parser.

Description

Indicates if the given string can be parsed by this parser. Use the CanParse method before using the Parse method.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
canParse in interface IParseNameString
Parameters:
nameString - The nameString (in)
Returns:
The canParse
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parse

public IName parse(String nameString)
            throws IOException,
                   AutomationException
Parses the name string and returns a new Name object.

Description

Returns a new Name object by parsing the given string. Use the CanParse method first to ensure the string can be parsed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
parse in interface IParseNameString
Parameters:
nameString - The nameString (in)
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceDataElement

public IDataElement getWorkspaceDataElement(IDEBrowseOptions browseOptions)
                                     throws IOException,
                                            AutomationException
The data element for the workspace.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getWorkspaceDataElement in interface IWorkspaceDataElements
Parameters:
browseOptions - A reference to a com.esri.arcgis.geodatabase.IDEBrowseOptions (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetDataElement

public IDataElement getDatasetDataElement(Object datasetSpec,
                                          IDEBrowseOptions browseOptions)
                                   throws IOException,
                                          AutomationException
Returns the data element for the in-bound dataset name or dataset object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDatasetDataElement in interface IWorkspaceDataElements
Parameters:
datasetSpec - A reference to another Object (IUnknown) (in)
browseOptions - A reference to a com.esri.arcgis.geodatabase.IDEBrowseOptions (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataElement
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.