Package org.metricshub.jawk.util
Class ScriptFileSource
java.lang.Object
org.metricshub.jawk.util.ScriptSource
org.metricshub.jawk.util.ScriptFileSource
Represents one AWK-script file content source.
- Author:
- Danny Daglas
-
Field Summary
Fields inherited from class org.metricshub.jawk.util.ScriptSource
DESCRIPTION_COMMAND_LINE_SCRIPT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldfilePath.Obtain theReaderserving the script contents.Methods inherited from class org.metricshub.jawk.util.ScriptSource
getDescription, toString
-
Constructor Details
-
ScriptFileSource
Constructor for ScriptFileSource.
- Parameters:
filePath- aStringobject
-
-
Method Details
-
getFilePath
Getter for the field
filePath.- Returns:
- a
Stringobject
-
getReader
Obtain theReaderserving the script contents.- Overrides:
getReaderin classScriptSource- Returns:
- The reader which contains the script contents.
-