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
DirectoryException
IName add(ICS ics, String comp) throws DirectoryException
DirectoryException
IName addAll(ICS ics, int posn, IName n) throws DirectoryException
DirectoryException
IName addAll(ICS ics, IName suffix) throws DirectoryException
DirectoryException
Object clone()
int compareTo(ICS ics, Object obj) throws DirectoryException
DirectoryException
boolean endsWith(ICS ics, IName n) throws DirectoryException
DirectoryException
String get(ICS ics, int posn) throws DirectoryException
DirectoryException
Enumeration getAll(ICS ics) throws DirectoryException
DirectoryException
IName getPrefix(ICS ics, int posn) throws DirectoryException
DirectoryException
IName getSuffix(ICS ics, int posn) throws DirectoryException
DirectoryException
boolean isEmpty(ICS ics) throws DirectoryException
DirectoryException
Object remove(ICS ics, int posn) throws DirectoryException
DirectoryException
int size(ICS ics) throws DirectoryException
DirectoryException
boolean startsWith(ICS ics, IName n) throws DirectoryException
DirectoryException
String toString()
String clean(ICS ics) throws DirectoryException
DirectoryException