public interface IName
| Modifier and Type | Method and Description |
|---|---|
IName |
add(ICS ics,
int posn,
String comp)
Adds a single component at a specified position within this
name.
|
IName |
add(ICS ics,
String comp)
Adds a single component to the end of this name.
|
IName |
addAll(ICS ics,
IName suffix)
Adds the components of a name -- in order -- to the end of this
name.
|
IName |
addAll(ICS ics,
int posn,
IName n)
Adds the components of a name -- in order -- at a specified
position within this name.
|
String |
clean(ICS ics)
Return a "clean" string representation for this IName with all whitespace trimmed
between components.
|
Object |
clone()
Generates a new copy of this name.
|
int |
compareTo(ICS ics,
Object obj)
Compares this name with another name for order.
|
boolean |
endsWith(ICS ics,
IName n)
Determines whether this name ends with a specified suffix.
|
String |
get(ICS ics,
int posn)
Retrieves a component of this name.
|
Enumeration |
getAll(ICS ics)
Retrieves the components of this name as an enumeration of
strings.
|
IName |
getPrefix(ICS ics,
int posn)
Creates a name whose components consist of a prefix of the
components of this name.
|
IName |
getSuffix(ICS ics,
int posn)
Creates a name whose components consist of a suffix of the
components in this name.
|
boolean |
isEmpty(ICS ics)
Determines whether this name is empty.
|
Object |
remove(ICS ics,
int posn)
Removes a component from this name.
|
int |
size(ICS ics)
Returns the number of components in this name.
|
boolean |
startsWith(ICS ics,
IName n)
Determines whether this name starts with a specified prefix.
|
String |
toString()
Generates the string representation of this name.
|
IName add(ICS ics, int posn, String comp) throws DirectoryException
DirectoryExceptionIName add(ICS ics, String comp) throws DirectoryException
DirectoryExceptionIName addAll(ICS ics, int posn, IName n) throws DirectoryException
DirectoryExceptionIName addAll(ICS ics, IName suffix) throws DirectoryException
DirectoryExceptionObject clone()
int compareTo(ICS ics, Object obj) throws DirectoryException
DirectoryExceptionboolean endsWith(ICS ics, IName n) throws DirectoryException
DirectoryExceptionString get(ICS ics, int posn) throws DirectoryException
DirectoryExceptionEnumeration getAll(ICS ics) throws DirectoryException
DirectoryExceptionIName getPrefix(ICS ics, int posn) throws DirectoryException
DirectoryExceptionIName getSuffix(ICS ics, int posn) throws DirectoryException
DirectoryExceptionboolean isEmpty(ICS ics) throws DirectoryException
DirectoryExceptionObject remove(ICS ics, int posn) throws DirectoryException
DirectoryExceptionint size(ICS ics) throws DirectoryException
DirectoryExceptionboolean startsWith(ICS ics, IName n) throws DirectoryException
DirectoryExceptionString toString()
String clean(ICS ics) throws DirectoryException
DirectoryException