Package cern.accsoft.steering.jmad.io
Class TfsFileParser
- java.lang.Object
-
- cern.accsoft.steering.jmad.io.TfsFileParser
-
public class TfsFileParser extends java.lang.ObjectThis 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 TfsResultImplgetResult()protected voidgoThroughTheLines(java.util.List<java.lang.String> lines, TfsSummaryImpl summary)voidparse()Parses the file and stores the data in internal Variables.
-
-
-
Method Detail
-
parse
public void parse() throws TfsFileParserExceptionParses 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()
-
-