org.blojsom.plugin.common
Class RSSEnclosurePlugin.RSSEnclosure

java.lang.Object
  extended byorg.blojsom.plugin.common.RSSEnclosurePlugin.RSSEnclosure
Enclosing class:
RSSEnclosurePlugin

public class RSSEnclosurePlugin.RSSEnclosure
extends java.lang.Object

RSS Enclosure

Since:
blojsom 2.22
Author:
David Czarnecki

Constructor Summary
RSSEnclosurePlugin.RSSEnclosure(java.lang.String url, long length, java.lang.String type)
          Construct an RSS enclosure
 
Method Summary
 long getLength()
          Get the length of the enclosure
 java.lang.String getType()
          Get the type of the enclosure
 java.lang.String getUrl()
          Get the URL for the enclosure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSSEnclosurePlugin.RSSEnclosure

public RSSEnclosurePlugin.RSSEnclosure(java.lang.String url,
                                       long length,
                                       java.lang.String type)
Construct an RSS enclosure

Parameters:
url - URL to retrieve enclosure
length - Length of enclosure
type - Type of enclosure
Method Detail

getUrl

public java.lang.String getUrl()
Get the URL for the enclosure

Returns:
URL for enclosure

getLength

public long getLength()
Get the length of the enclosure

Returns:
Length of enclosure

getType

public java.lang.String getType()
Get the type of the enclosure

Returns:
Type of enclosure (e.g. audio/mpeg)