|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the object into which this parser transforms linespublic interface ILineParser<T>
A parser that transforms lines of data from a data source into data objects.
| Nested Class Summary | |
|---|---|
static class |
ILineParser.MisformattedLineException
Thrown when a line from a data resource does not match expected formatting conventions. |
| Method Summary | |
|---|---|
T |
parseLine(String line)
Given the line of data, this method produces an object of class T. |
| Method Detail |
|---|
T parseLine(String line)
T.
line - the line to be parsed
NullPointerException - if the specified line is null
ILineParser.MisformattedLineException - if the line is malformed in some way
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||