Class InputFilesMapElement
- java.lang.Object
-
- com.dkfqs.measuringagent.javascript.executor.InputFilesMapElement
-
public class InputFilesMapElement extends java.lang.ObjectThe data of an input file.
-
-
Constructor Summary
Constructors Constructor Description InputFilesMapElement(java.io.File inputFile, java.lang.String tokenDelimiter, java.lang.String commentTag, boolean cyclicRead, boolean randomizeLines, boolean trimValues, boolean removeDoubleQuotes)Create a new instance and read the input file into memory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getNextLineTokens()Get the next line and split it into tokens - This method is thread safe.
-
-
-
Constructor Detail
-
InputFilesMapElement
public InputFilesMapElement(java.io.File inputFile, java.lang.String tokenDelimiter, java.lang.String commentTag, boolean cyclicRead, boolean randomizeLines, boolean trimValues, boolean removeDoubleQuotes) throws java.io.IOExceptionCreate a new instance and read the input file into memory.- Parameters:
inputFile- the input filetokenDelimiter- the token delimitercommentTag- the comment tagcyclicRead- if true then cyclic read is enabledrandomizeLines- if true then randomize the order of the linestrimValues- if true then trim the values of the tokensremoveDoubleQuotes- if true the remove double quotes from the start and the end of the tokens- Throws:
java.io.IOException- if reading the input file has failed
-
-