List of utility methods to do Reader Read
String | nextString(Reader r, char c) Parse String with given delimiter from Reader. StringWriter sw = new StringWriter(); try { char buffer; int i; while ((i = r.read()) > -1) { buffer = (char) i; if (buffer == c) { break; ... |
String | nextPairedString(Reader r, char b, char c) Parse paired String with given delimiters from Reader. StringWriter sw = new StringWriter(); try { int level = 0; char buffer; int i; while ((i = r.read()) > -1) { buffer = (char) i; if (buffer == b) { ... |