|
Parsing Engine | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanbikel.parser.SexpNumberedObjectReaderFactory
public class SexpNumberedObjectReaderFactory
The default NumberedSentenceReaderFactory used by
Switchboard. This class provides new instances of
SexpNumberedSentenceReader objects.
SexpNumberedObjectReader| Constructor Summary | |
|---|---|
SexpNumberedObjectReaderFactory()
Constructs a new factory. |
|
| Method Summary | |
|---|---|
ObjectReader |
get(InputStream in)
Returns a new SexpNumberedObjectReader constructed with the
specified input stream argument. |
ObjectReader |
get(InputStream in,
String encoding,
int bufSize)
Returns a new SexpNumberedObjectReader constructed with the
specified arguments. |
ObjectReader |
get(String filename,
String encoding,
int bufSize)
Returns a new SexpNumberedObjectReader 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 SexpNumberedObjectReaderFactory()
| Method Detail |
|---|
public ObjectReader get(InputStream in)
throws IOException
SexpNumberedObjectReader constructed with the
specified input stream argument.
get in interface ObjectReaderFactoryin - the input stream around which to construct a new
SexpNumberedObjectReader
SexpNumberedObjectReader constructed with the
specified input stream argument
IOException
public ObjectReader get(InputStream in,
String encoding,
int bufSize)
throws IOException
SexpNumberedObjectReader constructed with the
specified arguments.
get in interface ObjectReaderFactoryin - the input stream around which to construct the returned
SexpNumberedObjectReaderencoding - 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
SexpNumberedObjectReader to use
SexpNumberedObjectReader constructed with the
specified arguments
IOException - if there is a problem constructing a new
SexpNumberedObjectReader using the specified arguments of
this method
public ObjectReader get(String filename,
String encoding,
int bufSize)
throws IOException
SexpNumberedObjectReader constructed with the
specified arguments.
get in interface ObjectReaderFactoryfilename - the name of the file around which to construct the returned
SexpNumberedObjectReaderencoding - 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
SexpNumberedObjectReader to use
SexpNumberedObjectReader constructed with the
specified arguments
IOException - if there is a problem constructing a new
SexpNumberedObjectReader 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 | |||||||||