Android

String to InputStream

aucd29 2013. 10. 8. 14:44
http://www.mkyong.com/java/how-to-convert-string-to-inputstream-in-java/

[code]
String str = "This is a String ~ GoGoGo";
InputStream is = new ByteArrayInputStream(str.getBytes());
[/code]