All Packages Class Hierarchy This Package Previous Next Index
Interface java.naming.NameParser
- public interface NameParser
The NameParser class is used to parse names from a hierarchical
namespace. The NameParser contains knowledge of the syntactic
information (like left-to-right orientation, name separator, etc.)
needed to parse names.
The equals() method, when used to compare two NameParsers, returns
true if and only if they serve the same namespace.
- See Also:
- CompoundName, Name
-
parse(String)
- Parses a name into its components.
parse
public abstract Name parse(String name) throws NamingException
- Parses a name into its components.
- Parameters:
- name - The string name to parse.
- Returns:
- A parsed form of the name using the naming convention
of this parser.
All Packages Class Hierarchy This Package Previous Next Index