/** * Reads the next document's worth of text from the reader. Default * implementation reads all the text. Subclasses wishing to read multiple * documents from a single input source should read until the next document * delimiter and return the text so far. Returns null if there is no more * text to be read. */ protected String readNextDocumentText() throws IOException { return readText(in); }
/** * Inits a new BasicDocument by reading in the text from the given Reader. * * @see #init(String,String,boolean) */ public static <L> BasicDocument<L> init(Reader textReader, String title, boolean keepOriginalText) throws IOException { return init(DocumentReader.readText(textReader), title, keepOriginalText); }
/** * Reads the next document's worth of text from the reader. Default * implementation reads all the text. Subclasses wishing to read multiple * documents from a single input source should read until the next document * delimiter and return the text so far. Returns null if there is no more * text to be read. */ protected String readNextDocumentText() throws IOException { return readText(in); }
/** * Reads the next document's worth of text from the reader. Default * implementation reads all the text. Subclasses wishing to read multiple * documents from a single input source should read until the next document * delimiter and return the text so far. Returns null if there is no more * text to be read. */ protected String readNextDocumentText() throws IOException { return readText(in); }
/** * Reads the next document's worth of text from the reader. Default * implementation reads all the text. Subclasses wishing to read multiple * documents from a single input source should read until the next document * delimiter and return the text so far. Returns null if there is no more * text to be read. */ protected String readNextDocumentText() throws IOException { return readText(in); }
/** * Reads the next document's worth of text from the reader. Default * implementation reads all the text. Subclasses wishing to read multiple * documents from a single input source should read until the next document * delimiter and return the text so far. Returns null if there is no more * text to be read. */ protected String readNextDocumentText() throws IOException { return readText(in); }
/** * Inits a new BasicDocument by reading in the text from the given Reader. * * @see #init(String,String,boolean) */ public static <L> BasicDocument<L> init(Reader textReader, String title, boolean keepOriginalText) throws IOException { return init(DocumentReader.readText(textReader), title, keepOriginalText); }
/** * Inits a new BasicDocument by reading in the text from the given Reader. * * @see #init(String,String,boolean) */ public static <L> BasicDocument<L> init(Reader textReader, String title, boolean keepOriginalText) throws IOException { return init(DocumentReader.readText(textReader), title, keepOriginalText); }
/** * Inits a new BasicDocument by reading in the text from the given Reader. * * @see #init(String,String,boolean) */ public static <L> BasicDocument<L> init(Reader textReader, String title, boolean keepOriginalText) throws IOException { return init(DocumentReader.readText(textReader), title, keepOriginalText); }
/** * Inits a new BasicDocument by reading in the text from the given Reader. * * @see #init(String,String,boolean) */ public static <L> BasicDocument<L> init(Reader textReader, String title, boolean keepOriginalText) throws IOException { return init(DocumentReader.readText(textReader), title, keepOriginalText); }