Class Enclosure


  • public class Enclosure
    extends java.lang.Object
    abstraction of RSS enclosure
    Author:
    Ludovic SMADJA
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REVISION  
    • Constructor Summary

      Constructors 
      Constructor Description
      Enclosure​(long length, java.lang.String type, java.lang.String uRL)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getLength()  
      java.lang.String getType()  
      java.lang.String getURL()  
      void setLength​(long length)  
      void setType​(java.lang.String type)  
      void setURL​(java.lang.String url)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Enclosure

        public Enclosure​(long length,
                         java.lang.String type,
                         java.lang.String uRL)
    • Method Detail

      • getLength

        public long getLength()
        Returns:
        the length
      • setLength

        public void setLength​(long length)
        Parameters:
        length - the length to set
      • getType

        public java.lang.String getType()
        Returns:
        the type
      • setType

        public void setType​(java.lang.String type)
        Parameters:
        type - the type to set
      • getURL

        public java.lang.String getURL()
        Returns:
        the url
      • setURL

        public void setURL​(java.lang.String url)
        Parameters:
        url - the url to set