Lines Matching defs:pString
246 * @param pString
255 public String encode(String pString) throws EncoderException {
256 if (pString == null) {
260 return encode(pString, getDefaultCharset());
270 * @param pString
280 public String decode(String pString, String charset) throws DecoderException, UnsupportedEncodingException {
281 if (pString == null) {
284 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset);
291 * @param pString
300 public String decode(String pString) throws DecoderException {
301 if (pString == null) {
305 return decode(pString, getDefaultCharset());
377 * @param pString
380 * the charset for pString
386 public String encode(String pString, String charset) throws UnsupportedEncodingException {
387 if (pString == null) {
390 return new String(encode(pString.getBytes(charset)), StringEncodings.US_ASCII);