/** * Define the input text by reading from a reader. * @param reader providing the source text * @throws IOException if reading fails * * @deprecated clients should invoke {@link #reset(Reader, String)} */ @Deprecated public void initialize(Reader reader) throws IOException { char[] buffer = getInputChars(reader); reset(buffer, null); }
/** * Define the input text by reading from a reader. * @param reader providing the source text * @throws IOException if reading fails * * @deprecated clients should invoke {@link #reset(Reader, String)} */ @Deprecated public void initialize(Reader reader) throws IOException { char[] buffer = getInputChars(reader); reset(buffer, null); }