com.esri.arcgis.system
Interface IParseNameString

All Superinterfaces:
Serializable
All Known Implementing Classes:
AGSCatalogPathParser, ArcInfoWorkspaceFactory, GDSCatalogPathParser, GpVirtualPathParser, IMSCatalogPathParser, LocatorManager, SDCWorkspaceFactory, StandaloneCatalogPathParser, VpfWorkspaceFactory, WCSCatalogPathParser

public interface IParseNameString
extends Serializable

Provides access to members that parse Name strings.

Product Availability

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


Method Summary
 boolean canParse(String nameString)
          Indicates if the given name string can be parsed by this parser.
 IName parse(String nameString)
          Parses the name string and returns a new Name object.
 

Method Detail

canParse

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

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

parse

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

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.