src/share/classes/javax/naming/ldap/Rdn.java
Print this page
rev 10430 : imported patch typos
*** 419,429 ****
private static class RdnEntry implements Comparable<RdnEntry> {
private String type;
private Object value;
! // If non-null, a cannonical representation of the value suitable
// for comparison using String.compareTo()
private String comparable = null;
String getType() {
return type;
--- 419,429 ----
private static class RdnEntry implements Comparable<RdnEntry> {
private String type;
private Object value;
! // If non-null, a canonical representation of the value suitable
// for comparison using String.compareTo()
private String comparable = null;
String getType() {
return type;
*** 569,582 ****
}
return builder.toString();
}
/**
! * Given an attribute value string formated according to the rules
* specified in
* <a href="http://www.ietf.org/rfc/rfc2253.txt">RFC 2253</a>,
! * returns the unformated value. Escapes and quotes are
* stripped away, and hex-encoded UTF-8 is converted to equivalent
* UTF-16 characters. Returns a string value as a String, and a
* binary value as a byte array.
* <p>
* Legal and illegal values are defined in RFC 2253.
--- 569,582 ----
}
return builder.toString();
}
/**
! * Given an attribute value string formatted according to the rules
* specified in
* <a href="http://www.ietf.org/rfc/rfc2253.txt">RFC 2253</a>,
! * returns the unformatted value. Escapes and quotes are
* stripped away, and hex-encoded UTF-8 is converted to equivalent
* UTF-16 characters. Returns a string value as a String, and a
* binary value as a byte array.
* <p>
* Legal and illegal values are defined in RFC 2253.