Interface DataContainerWriter<T extends DataContainer>

    • Method Detail

      • isOutputFile

        boolean isOutputFile()
        Returns whether the output needs to be a file or directory.
        Returns:
        true if the output needs to be a file, a directory otherwise
      • setOutput

        void setOutput​(PlaceholderFile value)
        Sets the file/directory to write to.
        Parameters:
        value - the file/directory to write to
      • getOutput

        PlaceholderFile getOutput()
        The file/directory to write to.
        Returns:
        the file/directory to write to
      • outputTipText

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

        boolean canWriteMultiple()
        Returns whether writing of multiple containers is supported.
        Returns:
        true if multiple containers are supported
      • write

        boolean write​(T data)
        Performs checks and writes the data.
        Parameters:
        data - the data to write
        Returns:
        true if successfully written
        See Also:
        write(List)
      • write

        boolean write​(List<T> data)
        Performs checks and writes the data.
        Parameters:
        data - the data to write
        Returns:
        true if successfully written