Interface FileSystemService.DerivedStreamProducer

Enclosing class:
FileSystemService

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

The InputStream returned from the method needs to supply the bytes of the derived file and will be closed by the caller.

Example:

fsService.getDerivedByteProvider(
    containerFSRL, 
    null,
    "the_derived_file",
    -1,
    () -> new MySpecialtyInputstream(),
    monitor);

See produceDerivedStream().