Class AbstractMultiReportWriter<T extends Report>

    • Constructor Detail

      • AbstractMultiReportWriter

        public AbstractMultiReportWriter()
    • Method Detail

      • write

        public boolean write​(T[] data)
        Performs checks and writes the data.
        Specified by:
        write in interface MultiReportWriter<T extends Report>
        Parameters:
        data - the data to write
        Returns:
        true if successfully written
      • checkData

        protected void checkData​(T[] data)
        The default implementation only checks whether the provided file is an actual file and whether it exists (if m_OutputIsFile is TRUE). Otherwise the directory has to exist.
        Parameters:
        data - the data to write
      • writeData

        protected abstract boolean writeData​(T[] data)
        Performs the actual writing.
        Parameters:
        data - the data to write
        Returns:
        true if successfully written
      • writeData

        public boolean writeData​(T data)
        Performs the actual writing.
        Specified by:
        writeData in class AbstractReportWriter<T extends Report>
        Parameters:
        data - the data to write
        Returns:
        true if successfully written