com.esri.arcgis.geoprocessing
Class GDSCatalogPathParser

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

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

ArcGIS Database Server Catalog Path Parser.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
GDSCatalogPathParser()
          Constructs a GDSCatalogPathParser using ArcGIS Engine.
GDSCatalogPathParser(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GDSCatalogPathParser theGDSCatalogPathParser = (GDSCatalogPathParser) 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.
 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

GDSCatalogPathParser

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

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

GDSCatalogPathParser

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

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

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.