Interface FileSystemService.DerivedStreamPushProducer

Enclosing class:
FileSystemService

public static interface FileSystemService.DerivedStreamPushProducer
Used by getDerivedByteProviderPush() to produce a derivative stream from a source file.

The implementation needs to write bytes to the supplied OutputStream.

Example:

fsService.getDerivedByteProviderPush(
     containerFSRL, 
     null,
     "the_derived_file",
     -1,
     os -> FileUtilities.copyStream(my_input_stream, os),
     monitor);

See push(OutputStream).