|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanbikel.parser.SexpObjectReaderFactory
public class SexpObjectReaderFactory
The default factory used to construct ObjectReader objects
by the Switchboard class. This class returns
SexpObjectReader objects.
| Constructor Summary | |
|---|---|
SexpObjectReaderFactory()
Constructs a new object reader factory for reading Sexp
objects from a text file. |
|
| Method Summary | |
|---|---|
ObjectReader |
get(InputStream in)
Returns a new SexpObjectReader constructed with the
specified input stream argument. |
ObjectReader |
get(InputStream in,
String encoding,
int bufSize)
Returns a new SexpObjectReader constructed with the
specified arguments. |
ObjectReader |
get(String filename,
String encoding,
int bufSize)
Returns a new SexpObjectReader constructed with the
specified arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SexpObjectReaderFactory()
Sexp
objects from a text file.
| Method Detail |
|---|
public ObjectReader get(InputStream in)
throws IOException
SexpObjectReader constructed with the
specified input stream argument.
get in interface ObjectReaderFactoryin - the input stream around which to construct a new
SexpObjectReader
SexpObjectReader constructed with the
specified input stream argument
IOException
public ObjectReader get(InputStream in,
String encoding,
int bufSize)
throws IOException
SexpObjectReader constructed with the
specified arguments.
get in interface ObjectReaderFactoryin - the input stream around which to construct the returned
SexpObjectReaderencoding - the character encoding to use for reading S-expressions
from the specified input streambufSize - the buffer size for the S-expression reader in the returned
SexpObjectReader to use
SexpObjectReader constructed with the
specified arguments
IOException - if there is a problem constructing a new
SexpObjectReader using the specified arguments of
this method
public ObjectReader get(String filename,
String encoding,
int bufSize)
throws IOException
SexpObjectReader constructed with the
specified arguments.
get in interface ObjectReaderFactoryfilename - the name of the file around which to construct the returned
SexpObjectReaderencoding - the character encoding to use for reading S-expressions
from the specified input streambufSize - the buffer size for the S-expression reader in the returned
SexpObjectReader to use
SexpObjectReader constructed with the
specified arguments
IOException - if there is a problem constructing a new
SexpObjectReader using the specified arguments of
this method
|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||