Class ScriptFileSource

java.lang.Object
org.metricshub.jawk.util.ScriptSource
org.metricshub.jawk.util.ScriptFileSource

public class ScriptFileSource extends ScriptSource
Represents one AWK-script file content source.
Author:
Danny Daglas
  • Constructor Details

    • ScriptFileSource

      public ScriptFileSource(String filePath)

      Constructor for ScriptFileSource.

      Parameters:
      filePath - a String object
  • Method Details

    • getFilePath

      public String getFilePath()

      Getter for the field filePath.

      Returns:
      a String object
    • getReader

      public Reader getReader()
      Obtain the Reader serving the script contents.
      Overrides:
      getReader in class ScriptSource
      Returns:
      The reader which contains the script contents.