Wednesday, January 19, 2005

convert String to InputStream

byte[] bytes = str.getBytes();

ByteArrayInputStream bais = new ByteArrayInputStream(bytes);

No comments: