Class Resource

java.lang.Object
com.attribyte.parser.model.Resource

public class Resource extends Object
An immutable resource like a feed or HTML page.
Author:
Matt Hamer
  • Field Details

    • title

      public final String title
      The title, or empty if none.
    • subtitle

      public final String subtitle
      The subtitle or empty if none.
    • description

      public final String description
      The description or empty if none.
    • icon

      public final Optional<Image> icon
      The optional icon.
    • authors

      public final com.google.common.collect.ImmutableList<Author> authors
      The immutable list of authors.
    • tags

      public final com.google.common.collect.ImmutableList<String> tags
      The immutable list of tags.
    • entries

      public final com.google.common.collect.ImmutableList<Entry> entries
      The immutable list of entries.
    • publishedTimestamp

      public final long publishedTimestamp
      The last published timestamp or 0 if unknown.
    • updatedTimestamp

      public final long updatedTimestamp
      The last updated timestamp or 0 if unknown.
    • rights

      public final String rights
      The usage rights statement.
    • metadata

      public final com.google.common.collect.ImmutableMap<String,String> metadata
      A map of arbitrary metadata associated with the resource.
  • Method Details