Java Crie um StringReader

// Creates a StringReader
StringReader input = new StringReader(String data);
SAMER SAEID