java.lang.Object
org.klomp.snark.web.I2PSnarkServlet.PeerRowContext
- Enclosing class:
I2PSnarkServlet
Immutable context for rendering a peer row. Package-visible for testing.
Field Summary
FieldsConstructor Summary
ConstructorsConstructorDescriptionPeerRowContext(Snark snark, MetaInfo meta, boolean noThinsp) Captures the torrent and metadata needed to render one peer row.Method Summary
Field Details
snark
The torrent the peer belongs to.meta
The torrent metadata, null for magnet links.noThinsp
final boolean noThinspOmit thin spaces, for narrow layouts.
Constructor Details
PeerRowContext