Class FileSizeStatistics

Object
org.anchoranalysis.bean.AnchorBean<Summarizer<T>>

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

    Constructors 
    Constructor Description
    FileSizeStatistics()  
  • Method Summary

    Modifier and Type Method Description
    void add​(Path filePath)
    Adds a element to the summary.
    String describe()
    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

  • Method Details

    • add

      public void add​(Path filePath) throws org.anchoranalysis.core.exception.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:
      org.anchoranalysis.core.exception.OperationFailedException
    • describe

      public String describe() throws org.anchoranalysis.core.exception.OperationFailedException
      Description copied from class: Summarizer
      A string summarizing this item.
      Specified by:
      describe in class Summarizer<Path>
      Returns:
      the description.
      Throws:
      org.anchoranalysis.core.exception.OperationFailedException