@Test public void testXmlRestrictedCharReader() throws Exception { String s = "\u0001abcdefghijklmnop\u0002"; StringReader r = new StringReader(s); XmlRestrictedCharReader x = new XmlRestrictedCharReader(r); char[] chars = new char[s.length() + 1]; int n = x.read(chars); assertEquals(s.length() - 2, n); assertEquals("abcdefghijklmnop", new String(chars, 0, n)); }
public XmlRestrictedCharReader(InputStream in) { this(new InputStreamReader(in)); }
XmlRestrictedCharReader extends FilteredCharReader { public XmlRestrictedCharReader(InputStream in) { this(new InputStreamReader(in)); } }
XmlRestrictedCharReader extends FilteredCharReader { public XmlRestrictedCharReader(InputStream in) { this(new InputStreamReader(in)); } XmlRestrictedCharReader(InputStream in);  XmlRestrictedCharReader(InputStream in, String charset);  XmlRestrictedCharReader(InputStream in, XMLVersion version);  XmlRestrictedCharReader(InputStream in, String charset, XMLVersion version);  XmlRestrictedCharReader(InputStream in, char replacement);  XmlRestrictedCharReader(InputStream in, String charset, char replacement);  XmlRestrictedCharReader(InputStream in, XMLVersion version, char replacement);  XmlRestrictedCharReader(InputStream in, String charset, XMLVersion version, char replacement);  XmlRestrictedCharReader(Reader in);  XmlRestrictedCharReader(Reader in, XMLVersion version);  XmlRestrictedCharReader(Reader in, char replacement);  XmlRestrictedCharReader(Reader in, XMLVersion version, char replacement); }
XmlRestrictedCharReader extends FilteredCharReader { public XmlRestrictedCharReader(InputStream in) { this(new InputStreamReader(in)); } XmlRestrictedCharReader(InputStream in);  XmlRestrictedCharReader(InputStream in, String charset);  XmlRestrictedCharReader(InputStream in, XMLVersion version);  XmlRestrictedCharReader(InputStream in, String charset, XMLVersion version);  XmlRestrictedCharReader(InputStream in, char replacement);  XmlRestrictedCharReader(InputStream in, String charset, char replacement);  XmlRestrictedCharReader(InputStream in, XMLVersion version, char replacement);  XmlRestrictedCharReader(InputStream in, String charset, XMLVersion version, char replacement);  XmlRestrictedCharReader(Reader in);  XmlRestrictedCharReader(Reader in, XMLVersion version);  XmlRestrictedCharReader(Reader in, char replacement);  XmlRestrictedCharReader(Reader in, XMLVersion version, char replacement);  }
XmlRestrictedCharReader extends FilteredCharReader { public XmlRestrictedCharReader(InputStream in) { this(new InputStreamReader(in)); } XmlRestrictedCharReader(InputStream in);  XmlRestrictedCharReader(InputStream in, String charset);  XmlRestrictedCharReader(InputStream in, XMLVersion version);  XmlRestrictedCharReader(InputStream in, String charset, XMLVersion version);  XmlRestrictedCharReader(InputStream in, char replacement);  XmlRestrictedCharReader(InputStream in, String charset, char replacement);  XmlRestrictedCharReader(InputStream in, XMLVersion version, char replacement);  XmlRestrictedCharReader(InputStream in, String charset, XMLVersion version, char replacement);  XmlRestrictedCharReader(Reader in);  XmlRestrictedCharReader(Reader in, XMLVersion version);  XmlRestrictedCharReader(Reader in, char replacement);  XmlRestrictedCharReader(Reader in, XMLVersion version, char replacement);   }