Class WriterRouterErrors

Object
org.anchoranalysis.io.output.writer.WriterRouterErrors

public class WriterRouterErrors
extends Object
Write data via ElementWriters to the file system.

Or alternatively write by creating new sub-directories for writing data to.

This class is similar to Writer but:

  • exceptions are suppressed and errors are instead reported.
  • differences exist around writing sub-folders.

These operations occur in association with the currently bound output manager.

The ElementWriterSupplier interface is used so as to avoid object-creation if an operation isn't actually written.

Note that a ElementWriter may write more than one file for a given element.

Author:
Owen Feehan