|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.ietf.ldap.LDAPCompareAttrNames
An object of this class supports sorting search results by attribute name, in ascending or descending order.
| Constructor Summary | |
LDAPCompareAttrNames(java.lang.String attrName)
Constructs an object that sorts results by a single attribute, in ascending order. |
|
LDAPCompareAttrNames(java.lang.String[] attrNames)
Constructs an object that sorts by one or more attributes, in the order provided, in ascending order. |
|
LDAPCompareAttrNames(java.lang.String[] attrNames,
boolean[] ascendingFlags)
Constructs an object that sorts by one or more attributes, in the order provided, in either ascending or descending order for each attribute. |
|
LDAPCompareAttrNames(java.lang.String attrName,
boolean ascendingFlag)
Constructs an object that sorts results by a single attribute, in either ascending or descending order. |
|
| Method Summary | |
int |
compare(java.lang.Object entry1,
java.lang.Object entry2)
Compares the the attributes of the first LDAPEntry to the second. |
boolean |
equals(java.lang.Object comparator)
Returns true if this comparator is equal to the specified comparator. |
java.util.Locale |
getLocale()
Returns the locale to be used for sorting, if a locale has been specified. |
void |
setLocale(java.util.Locale locale)
Sets the locale to be used for sorting. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LDAPCompareAttrNames(java.lang.String attrName)
public LDAPCompareAttrNames(java.lang.String attrName,
boolean ascendingFlag)
public LDAPCompareAttrNames(java.lang.String[] attrNames)
public LDAPCompareAttrNames(java.lang.String[] attrNames,
boolean[] ascendingFlags)
throws LDAPException
| Method Detail |
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
public int compare(java.lang.Object entry1,
java.lang.Object entry2)
compare in interface java.util.Comparatorpublic boolean equals(java.lang.Object comparator)
equals in interface java.util.Comparatorequals in class java.lang.Object
|
LDAP Classes Implements Java LDAP |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||