The StringInputStream class of the com.ms.xml.util package takes input from the characters of a specified String object.
public class StringInputStream extends java.io.InputStream { // Constructors public StringInputStream(String text); // Methods public int read() throws IOException; }