Exemplo n.º 1
0
 /// <summary>
 /// A static factory class for the InputFileReader
 /// </summary>
 /// <param name="filePath">The path and name of the input file</param>
 /// <returns>Returns the InputFileReader</returns>
 public static InputFileReader GetReader(string filePath)
 {
     return new InputFileReader(InputFile.GetInputFile(filePath));
 }
Exemplo n.º 2
0
 private InputFileReader(InputFile inputFile)
 {
     this.inputFile = inputFile;
     currentIndex = -1;
 }