Package cern.accsoft.steering.jmad.io
Class TfsFileParser
- java.lang.Object
-
- cern.accsoft.steering.jmad.io.TfsFileParser
-
public class TfsFileParser extends java.lang.Object
This class provides an interface to read MadX-output files. The read data is returned in a Result - Object.
-
-
Constructor Summary
Constructors Constructor Description TfsFileParser(java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TfsResultImpl
getResult()
protected void
goThroughTheLines(java.util.List<java.lang.String> lines, TfsSummaryImpl summary)
void
parse()
Parses the file and stores the data in internal Variables.
-
-
-
Method Detail
-
parse
public void parse() throws TfsFileParserException
Parses the file and stores the data in internal Variables.- Throws:
TfsFileParserException
- if the parsing fails
-
goThroughTheLines
protected void goThroughTheLines(java.util.List<java.lang.String> lines, TfsSummaryImpl summary) throws TfsFileParserException
- Throws:
TfsFileParserException
-
getResult
public TfsResultImpl getResult()
-
-