Java convert string to stream
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.
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.