Back
How can I transform a String value into an InputStreamReader?
ByteArrayInputStream can also help you:
InputStream is = new ByteArrayInputStream( myString.getBytes( charset ) );
31k questions
32.8k answers
501 comments
693 users