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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputStream
getOutputStream(org.eclipse.swt.widgets.Shell shell)
Object
getResult()
-
-
-
Method Detail
-
getOutputStream
OutputStream getOutputStream(org.eclipse.swt.widgets.Shell shell)
- Parameters:
shell
- The current active Shell. Needed to add support for user interactions on specifying the OutputStream for example by opening a dialog.- Returns:
- The OutputStream to perform write operations to.
-
getResult
Object getResult()
- Returns:
- 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).
-
-