|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.util.QuotedPrintable
public class QuotedPrintable
A class containing static methods to perform decoding from quoted printable content transfer encoding and to encode into
Constructor Summary | |
---|---|
QuotedPrintable()
|
Method Summary | |
---|---|
static int |
decode(byte[] qp)
A method to decode quoted printable encoded data. |
static java.lang.String |
decode(byte[] qp,
java.lang.String enc)
|
static byte[] |
encode(byte[] bytes)
Encodes an array of bytes into an array of quoted-printable 7-bit characters. |
static java.lang.String |
encode(java.lang.String str)
Encodes a String into a String of quoted-printable 7-bit characters. |
static java.lang.String |
encode(java.lang.String str,
java.lang.String enc)
Encodes a String into a String of quoted-printable 7-bit characters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuotedPrintable()
Method Detail |
---|
public static int decode(byte[] qp)
qp
- a byte array to decode.
public static java.lang.String decode(byte[] qp, java.lang.String enc)
public static final byte[] encode(byte[] bytes)
bytes
- Array of bytes to be encoded
public static final java.lang.String encode(java.lang.String str, java.lang.String enc) throws java.io.UnsupportedEncodingException
str
- string to be encodedenc
- the encoding in which the string is encoded
java.io.UnsupportedEncodingException
public static final java.lang.String encode(java.lang.String str) throws java.io.UnsupportedEncodingException
str
- string to be encoded
java.io.UnsupportedEncodingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |