Class LagReader
java.lang.Object
games.stendhal.tools.loganalyser.laganalyser.LagReader
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
closes the input streamint[]
reads the absolute times from the file.int[]
returns the relative times uesed in each step
-
Constructor Details
-
LagReader
creates a new LagReader- Parameters:
inputFileName
- name of log file- Throws:
FileNotFoundException
- in case the file is not found
-
-
Method Details
-
readTurnOverflowRelative
returns the relative times uesed in each step- Returns:
- relative times
- Throws:
IOException
- in case of an input / output error
-
readTurnOverflowAbsolute
reads the absolute times from the file.- Returns:
- array of ints
- Throws:
IOException
- in case of an input / output error
-
close
closes the input stream- Throws:
IOException
- in case of an I/O error
-