Interface MultipleFileContentHandler


  • public interface MultipleFileContentHandler
    Interface for content handlers that can handle more than one file at a time.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • reusePreview

        PreviewPanel reusePreview​(File[] files,
                                  PreviewPanel previewPanel)
        Returns the preview for the specified files.
        Parameters:
        files - the files to create the view for
        previewPanel - the preview panel to resuse
        Returns:
        the preview, NoPreviewAvailablePanel in case of an error
        See Also:
        NoPreviewAvailablePanel
      • getPreview

        PreviewPanel getPreview​(File[] files)
        Returns the preview for the specified files.
        Parameters:
        files - the files to create the view for
        Returns:
        the preview, NoPreviewAvailablePanel in case of an error
        See Also:
        NoPreviewAvailablePanel