Searched refs:StringEncodings (Results 1 – 6 of 6) sorted by relevance
63 private String charset = StringEncodings.UTF8;279 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset); in decode()385 return new String(encode(pString.getBytes(charset)), StringEncodings.US_ASCII); in encode()
55 protected String charset = StringEncodings.UTF8;226 return new String(encode(pString.getBytes(charset)), StringEncodings.US_ASCII); in encode()270 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset); in decode()
78 buffer.append(new String(rawdata, StringEncodings.US_ASCII)); in encodeText()126 byte[] data = text.substring(from, to).getBytes(StringEncodings.US_ASCII); in decodeText()
26 interface StringEncodings { interface
49 private String charset = StringEncodings.UTF8;
51 private String charset = StringEncodings.UTF8;