java.lang.Object
org.klomp.snark.web.I2PSnarkServlet.FileRowCounters
Enclosing class:
I2PSnarkServlet

static class I2PSnarkServlet.FileRowCountersextends Object
Mutable counters for file row rendering. Package-visible for testing.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
    Thumbnailed images seen, for the image dimension script.
    (package private) boolean
    Any row offered a priority control, so the save button is rendered.
    (package private) int
    Text files seen, for the text viewer script.
    (package private) int
    Complete video files seen, for the video preview script.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Starts every counter at zero and the save button hidden.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • videoCount

      int videoCount
      Complete video files seen, for the video preview script.
    • imgCount

      int imgCount
      Thumbnailed images seen, for the image dimension script.
    • txtCount

      int txtCount
      Text files seen, for the text viewer script.
    • showSaveButton

      boolean showSaveButton
      Any row offered a priority control, so the save button is rendered.
  • Constructor Details

    • FileRowCounters

      FileRowCounters()
      Starts every counter at zero and the save button hidden.