Hi,

On Tue, Aug 11, 2020 at 2:11 PM Oliver Lietz <[email protected]> wrote:
> ...I would like to discuss new API and modules for content analyzing and
> processing...

I think it's often useful to be able to chain such things in a similar
way to Unix Pipes.

Which might speak for an API like

FilePipeStatus s = FilePipe.
  .withProcessor(grep)
  .withProcessor(sed)
  .withProcessor(antivirus)
  .withInput(someInputStream)
  .withOutput(someOutputStream)
  .start()

WhereFilePipeStatus provides access to the completion Future and to
the processing report, which might also be modeled along the lines of
standard output / error.

Just my 2 cents - but I think a pipeline model can be useful here (and
we already have something named Sling Pipes)

-Bertrand

Reply via email to