Class ParameterFile


public class ParameterFile extends ParameterString
A file parameter used in either the recording or execution of a script action.
  • Constructor Details

    • ParameterFile

      public ParameterFile(String paramLabel) throws ParserException
      Creates a new ParameterFile object without any value.
      Parameters:
      paramLabel - The label/name to give to this parameter.
      Throws:
      ParserException - If there is a problem creating the parameter.
    • ParameterFile

      public ParameterFile(String paramLabel, String paramValue) throws ParserException
      Creates a new ParameterFile with a new value.
      Parameters:
      paramLabel - The label/name to give to this parameter.
      paramValue - The new parameter value.
      Throws:
      ParserException - If there is a problem creating the parameter.
    • ParameterFile

      public ParameterFile(String paramLabel, int paramType) throws ParserException
      Creates a new ParameterFile object without any value.
      Parameters:
      paramLabel - The label/name to give to this parameter.
      paramType - The type of this parameter (should be PARAM_FILE).
      Throws:
      ParserException - If there is a problem creating the parameter.
    • ParameterFile

      public ParameterFile(String paramLabel, String paramTypeString, String paramValue) throws ParserException
      Creates a new ParameterFile object.
      Parameters:
      paramLabel - The label/name to give to this parameter.
      paramTypeString - The type of this parameter, in string form.
      paramValue - The new parameter value.
      Throws:
      ParserException - If there is a problem creating the parameter.
    • ParameterFile

      public ParameterFile(String paramLabel, int paramType, String paramValue) throws ParserException
      Creates a new ParameterFile object.
      Parameters:
      paramLabel - The label/name to give to this parameter.
      paramType - The type of this parameter (should be PARAM_FILE).
      paramValue - The new parameter value.
      Throws:
      ParserException - If there is a problem creating the parameter.