Package org.apache.cxf.attachment
Class Rfc5987Util
- java.lang.Object
- 
- org.apache.cxf.attachment.Rfc5987Util
 
- 
 public final class Rfc5987Util extends Object Utility for encoding and decoding values according to RFC 5987. Assumes the caller already knows the encoding scheme for the value.
- 
- 
Method Detail- 
encodepublic static String encode(String s) throws UnsupportedEncodingException - Throws:
- UnsupportedEncodingException
 
 - 
encodepublic static String encode(String s, String encoding) throws UnsupportedEncodingException - Throws:
- UnsupportedEncodingException
 
 - 
decodepublic static String decode(String s, String encoding) throws UnsupportedEncodingException - Throws:
- UnsupportedEncodingException
 
 
- 
 
-