Class FileSizeStatistics

Object
AnchorBean<Summarizer<Path>>
Summarizer<Path>
SummarizerPath
FileSizeStatistics

public class FileSizeStatistics extends SummarizerPath
Tracks the range of file-size. Thead-safe.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(Path filePath)
    Adds a element to the summary.
    A string summarizing this item.

    Methods inherited from class org.anchoranalysis.plugin.io.bean.summarizer.path.SummarizerPath

    requiresImageMetadata

    Methods inherited from class org.anchoranalysis.plugin.io.bean.summarizer.Summarizer

    addAll

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FileSizeStatistics

      public FileSizeStatistics()
  • Method Details

    • add

      public void add(Path filePath) throws OperationFailedException
      Description copied from class: Summarizer
      Adds a element to the summary.
      Specified by:
      add in class Summarizer<Path>
      Parameters:
      filePath - 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<Path>
      Returns:
      the description.
      Throws:
      OperationFailedException