Interface IOutputStreamProvider

All Known Implementing Classes:
FileOutputStreamProvider, FilePathOutputStreamProvider

public interface IOutputStreamProvider
Interface for specifying a provider for OutputStreams. Using this adds support like e.g. dynamically creating an OutputStream with user interaction, like opening a file selection dialog.
  • Method Details

    • getOutputStream

      OutputStream getOutputStream(org.eclipse.swt.widgets.Shell shell)
      shell - The current active Shell. Needed to add support for user interactions on specifying the OutputStream for example by opening a dialog.
      The OutputStream to perform write operations to.
    • getResult

      Object getResult()
      The result that is produced by this IOutputStreamProvider. Usually this is the place where the OutputStream that is produced by this provider is pointing to (e.g. the file to which the OutputStream points to).