Class FilePathOutputStreamProvider
java.lang.Object
org.eclipse.nebula.widgets.nattable.export.FilePathOutputStreamProvider
- All Implemented Interfaces:
IOutputStreamProvider
Simple IOutputStreamProvider for a given filepath, no user interaction
necessary.
Useful for integration of a fileselector anywere in the UI.
- Since:
- 1.5
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FilePathOutputStreamProvider
-
-
Method Details
-
getResult
- Specified by:
getResult
in interfaceIOutputStreamProvider
- 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).
-
getOutputStream
- Specified by:
getOutputStream
in interfaceIOutputStreamProvider
- 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.
-