How to convert string to stream in java.

import org.apache.commons.io.IOUtils;

InputStream is = IOUtils.toInputStream(String input);

See Apache Commons IO for more.

BACK TO TOP
Post tagged with: java