com.esri.arcgis.gisclient
Class IMSCatalogPathParser

java.lang.Object
  extended bycom.esri.arcgis.gisclient.IMSCatalogPathParser
All Implemented Interfaces:
IParseNameString, java.io.Serializable

public class IMSCatalogPathParser
extends java.lang.Object
implements IParseNameString

IMSGIS Server Catalog Path Parser.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
IMSCatalogPathParser()
          Constructs a IMSCatalogPathParser using ArcGIS Engine.
IMSCatalogPathParser(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 boolean canParse(java.lang.String nameString)
          Indicates if the given name string can be parsed by this parser.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IParseNameString getAsIParseNameString()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String getClsid()
           
 int hashCode()
          the hashcode for this object
 IName parse(java.lang.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
 

Constructor Detail

IMSCatalogPathParser

public IMSCatalogPathParser()
                     throws java.io.IOException,
                            java.net.UnknownHostException
Constructs a IMSCatalogPathParser using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

IMSCatalogPathParser

public IMSCatalogPathParser(java.lang.Object obj)
                     throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.

Construct a IMSCatalogPathParser using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to IMSCatalogPathParser.
IMSCatalogPathParser theIMSCatalogPathParser = (IMSCatalogPathParser) obj;

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

getClsid

public static java.lang.String getClsid()

getAsIParseNameString

public IParseNameString getAsIParseNameString()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

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


hashCode

public int hashCode()
the hashcode for this object


canParse

public boolean canParse(java.lang.String nameString)
                 throws java.io.IOException,
                        AutomationException
Description copied from interface: IParseNameString
Indicates if the given name string can be parsed by this parser.

Supported Platforms

Windows, Solaris, Linux

Description

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

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

parse

public IName parse(java.lang.String nameString)
            throws java.io.IOException,
                   AutomationException
Description copied from interface: IParseNameString
Parses the name string and returns a new Name object.

Supported Platforms

Windows, Solaris, Linux

Description

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

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