this.mBody = body;
Returns an InputStream that reads this body's text in UTF-8 format. try { byte[] b = mBody.getBytes("UTF-8"); return new ByteArrayInputStream(b); } catch (UnsupportedEncodingException usee) { return null; }
try { byte[] b = mBody.getBytes("UTF-8"); return new ByteArrayInputStream(b); } catch (UnsupportedEncodingException usee) { return null; }
Get the text of the body in it's unencoded format.return return mBody;
return mBody;
byte[] bytes = mBody.getBytes("UTF-8"); out.write(Base64.encodeBase64Chunked(bytes));