Class SummarizerAggregate<T>

Object
AnchorBean<Summarizer<T>>
Summarizer<T>
SummarizerAggregate<T>

public class SummarizerAggregate<T> extends Summarizer<T>
Collects summary data about a set of input files that will eventually be outputted to the user
  • Constructor Details

    • SummarizerAggregate

      public SummarizerAggregate()
  • Method Details

    • add

      public void add(T element) throws OperationFailedException
      Description copied from class: Summarizer
      Adds a element to the summary.
      Specified by:
      add in class Summarizer<T>
      Parameters:
      element - the element to add.
      Throws:
      OperationFailedException
    • describe

      public String describe() throws OperationFailedException
      Description copied from class: Summarizer
      A string summarizing this item.
      Specified by:
      describe in class Summarizer<T>
      Returns:
      the description.
      Throws:
      OperationFailedException
    • requiresImageMetadata

      public boolean requiresImageMetadata() throws OperationFailedException
      Description copied from class: Summarizer
      Whether a ImageMetadataInput is required as an input.
      Specified by:
      requiresImageMetadata in class Summarizer<T>
      Returns:
      true if the summarize requires ImageMetadataInput as input, or false if any input is acceptable.
      Throws:
      OperationFailedException - if this cannot be established.
    • getList

      public List<Summarizer<T>> getList()
    • setList

      public void setList(List<Summarizer<T>> list)
    • isAvoidBulletOnFirst

      public boolean isAvoidBulletOnFirst()
      Iff true no bullet is added for the very first-item in the list
    • setAvoidBulletOnFirst

      public void setAvoidBulletOnFirst(boolean avoidBulletOnFirst)
      Iff true no bullet is added for the very first-item in the list