The StringInputStream class contains the following constructor:
Initializes the stream with the given string object.
public StringInputStream(String text);