Package com.helger.io.provider
Interface IOutputStreamProvider
- All Known Implementing Classes:
FileSystemByteStreamProvider,FileSystemCharStreamProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback interface to retrieve
OutputStream objects from a given
name.- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescription@Nullable OutputStreamgetOutputStream(@NonNull String sName, @NonNull com.helger.base.io.EAppend eAppend) Get the output stream from the given name.
-
Method Details
-
getOutputStream
@Nullable OutputStream getOutputStream(@NonNull String sName, @NonNull com.helger.base.io.EAppend eAppend) Get the output stream from the given name.- Parameters:
sName- The name to be resolved. May not benull.eAppend- Appending mode. May not benull.- Returns:
nullif resolving failed.
-