Class RssItemEnclosure

java.lang.Object
io.micronaut.rss.RssItemEnclosure

public class RssItemEnclosure extends Object
RSS Item enclosure.
Since:
1.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • RssItemEnclosure

      public RssItemEnclosure()
  • Method Details

    • getUrl

      public String getUrl()
      Returns:
      The URL attribute points to your podcast content.
    • setUrl

      public void setUrl(String url)
      Parameters:
      url - A URL to the podcast content.
    • getLength

      public Integer getLength()
      Returns:
      The length attribute is the file size in bytes.
    • setLength

      public void setLength(Integer length)
      Parameters:
      length - The file size in bytes.
    • builder

      public static RssItemEnclosure.Builder builder()
      Returns:
      A RssItemEnclosure.Builder
    • getType

      public String getType()
      Returns:
      A standard MIME type.
    • setType

      public void setType(String type)
      Parameters:
      type - A standard MIME type.