Interface DataContainerReader<T extends DataContainer>

    • Method Detail

      • isInputFile

        boolean isInputFile()
        Returns whether the input needs to be a file or directory.
        Returns:
        true if the input needs to be a file, a directory otherwise
      • setInput

        void setInput​(PlaceholderFile value)
        Sets the file/directory to read.
        Parameters:
        value - the file/directory to read
      • getInput

        PlaceholderFile getInput()
        The file/directory to read.
        Returns:
        the file/directory to read
      • inputTipText

        String inputTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setCreateDummyReport

        void setCreateDummyReport​(boolean value)
        Sets whether to create a dummy report if none present.
        Parameters:
        value - if true then a dummy report is generated if necessary
      • getCreateDummyReport

        boolean getCreateDummyReport()
        Returns whether to create a dummy report if none present.
        Returns:
        true if a dummy report is generated if necessary
      • createDummyReportTipText

        String createDummyReportTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • read

        List<T> read()
        Returns the data containers generated from the file. If necessary, performs the parsing (e.g., if not yet read).
        Returns:
        the data containers generated from the file