java.lang.Object
net.i2p.router.news.NewsMetadata

public class NewsMetadataextends Object
Data structure for I2P router news feed metadata and update information.

Contains standard Atom feed metadata fields including title, subtitle, and update timestamps, along with I2P-specific release information such as version requirements and update sources.

Provides structured access to release data with nested classes for individual releases and their associated updates. Supports version comparison and validation for update management.

All String and List fields may be null to accommodate optional metadata elements in news feeds.

  • Field Details

    • feedTitle

      public String feedTitle
      Standard Atom feed metadata.
    • feedSubtitle

      public String feedSubtitle
      Standard Atom feed metadata.
    • feedID

      public String feedID
      Standard Atom feed metadata.
    • feedUpdated

      public long feedUpdated
      Standard Atom feed metadata.
    • releases

      public List<NewsMetadata.Release> releases
      I2P metadata.
  • Constructor Details

    • NewsMetadata

      public NewsMetadata()
      Every field is left null or zero; the Atom parser fills them in as it reads the feed element.