|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectReader
BufferedReader
LineNumberReader
EntryReader
MultiReader
@Deprecated public class MultiReader
Class that reads "entries" from a file. In the simplest case, entries can be lines. It supports: include files, comments, and multi-line entries (paragraphs). The syntax of each of these is customizable.
and @see #set_entry_start_stop(String,String),
EntryReader| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class EntryReader |
|---|
EntryReader.Entry |
| Field Summary |
|---|
| Fields inherited from class EntryReader |
|---|
entry_start_re, entry_stop_re |
| Fields inherited from class Reader |
|---|
lock |
| Constructor Summary | |
|---|---|
MultiReader(BufferedReader reader)
Deprecated. Create a MultiReader that does not support comments or include directives. |
|
MultiReader(BufferedReader reader,
String filename,
String comment_re_string,
String include_re_string)
Deprecated. Create a MultiReader |
|
MultiReader(File file)
Deprecated. Create a MultiReader that does not support comments or include directives. |
|
MultiReader(File file,
String comment_re,
String include_re)
Deprecated. Create a MultiReader |
|
MultiReader(String filename)
Deprecated. Create a MultiReader that does not support comments or include directives. |
|
MultiReader(String filename,
String comment_re,
String include_re)
Deprecated. Create a new MultiReader starting with the specified file. |
|
| Method Summary |
|---|
| Methods inherited from class EntryReader |
|---|
get_entry, get_filename, get_line_number, getFileName, getLineNumber, hasNext, iterator, main, mark, next, putback, read, read, readLine, remove, reset, set_entry_start_stop, set_entry_start_stop, setLineNumber, skip |
| Methods inherited from class BufferedReader |
|---|
close, markSupported, ready |
| Methods inherited from class Reader |
|---|
read, read |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiReader(BufferedReader reader,
String filename,
String comment_re_string,
String include_re_string)
reader - Initial sourcecomment_re_string - Regular expression that matches comments.
Any text that matches comment_re is removed.
A line that is entirely a comment is ignoredinclude_re_string - Regular expression that matches include directives.
The expression should define one group that contains
the include file namepublic MultiReader(BufferedReader reader)
MultiReader(BufferedReader,String,String,String)
public MultiReader(File file,
String comment_re,
String include_re)
throws IOException
file - Initial file to read.comment_re - Regular expression that matches comments.
Any text that matches comment_re is removed.
A line that is entirely a comment is ignored.include_re - Regular expression that matches include directives.
The expression should define one group that contains
the include file name.
IOException
public MultiReader(File file)
throws IOException
IOExceptionMultiReader(File,String,String)
public MultiReader(String filename,
String comment_re,
String include_re)
throws IOException
IOExceptionMultiReader(File,String,String)
public MultiReader(String filename)
throws IOException
IOExceptionMultiReader(String,String,String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||