public class PlainProblemReader extends java.lang.Object implements _ProblemReader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
PlainProblemReader()
Build a plain reader.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns a string describing this problem reader.
|
java.lang.String |
getName()
Returns the name of this problem reader.
|
JTabWbSimpleProblem |
read(java.io.Reader input)
Returns the problem description build from the specified input stream; the
specified input stream is supposed to contain only one line describing the
formula.
|
public static final java.lang.String NAME
public JTabWbSimpleProblem read(java.io.Reader input) throws ProblemDescriptionException, java.io.IOException
read
in interface _ProblemReader
input
- the input stream.ProblemDescriptionException
- if the input does not respect the
problem format.java.io.IOException
- if an input/output error occurs.public java.lang.String getName()
_ProblemReader
getName
in interface _ProblemReader
public java.lang.String getDescription()
_ProblemReader
getDescription
in interface _ProblemReader