Interface RssItemEnclosure


  • public interface RssItemEnclosure
    This interface wraps an enclosure contained by an RSS item (see http://www.w3schools.com/xml/rss_tag_enclosure.asp).
    Author:
    ivol
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getLength()
      Returns the length (in bytes) of the media file contained by the enclosure.
      String getType()
      Returns the type of the the media file contained by the enclosure.
      String getUrl()
      Returns the URL of the the media file contained by the enclosure.
    • Method Detail

      • getUrl

        String getUrl()
        Returns the URL of the the media file contained by the enclosure.
        Returns:
        the URL of the the media file contained by the enclosure
      • getType

        String getType()
        Returns the type of the the media file contained by the enclosure.
        Returns:
        the type of the the media file contained by the enclosure
      • getLength

        long getLength()
        Returns the length (in bytes) of the media file contained by the enclosure.
        Returns:
        the length (in bytes) of the media file contained by the enclosure