equal
deleted
inserted
replaced
419 |
419 |
420 private static class RdnEntry implements Comparable<RdnEntry> { |
420 private static class RdnEntry implements Comparable<RdnEntry> { |
421 private String type; |
421 private String type; |
422 private Object value; |
422 private Object value; |
423 |
423 |
424 // If non-null, a cannonical representation of the value suitable |
424 // If non-null, a canonical representation of the value suitable |
425 // for comparison using String.compareTo() |
425 // for comparison using String.compareTo() |
426 private String comparable = null; |
426 private String comparable = null; |
427 |
427 |
428 String getType() { |
428 String getType() { |
429 return type; |
429 return type; |
569 } |
569 } |
570 return builder.toString(); |
570 return builder.toString(); |
571 } |
571 } |
572 |
572 |
573 /** |
573 /** |
574 * Given an attribute value string formated according to the rules |
574 * Given an attribute value string formatted according to the rules |
575 * specified in |
575 * specified in |
576 * <a href="http://www.ietf.org/rfc/rfc2253.txt">RFC 2253</a>, |
576 * <a href="http://www.ietf.org/rfc/rfc2253.txt">RFC 2253</a>, |
577 * returns the unformated value. Escapes and quotes are |
577 * returns the unformatted value. Escapes and quotes are |
578 * stripped away, and hex-encoded UTF-8 is converted to equivalent |
578 * stripped away, and hex-encoded UTF-8 is converted to equivalent |
579 * UTF-16 characters. Returns a string value as a String, and a |
579 * UTF-16 characters. Returns a string value as a String, and a |
580 * binary value as a byte array. |
580 * binary value as a byte array. |
581 * <p> |
581 * <p> |
582 * Legal and illegal values are defined in RFC 2253. |
582 * Legal and illegal values are defined in RFC 2253. |