net.sourceforge.rssowl.model
Class Enclosure

java.lang.Object
  extended bynet.sourceforge.rssowl.model.Enclosure

public class Enclosure
extends Object

Model for a Enclosure. A newsitem may contain one ore more enclosures (e.g. link to a mp3 or other file)

Version:
1.1.3
Author:
Benjamin Pasero

Field Summary
private  String length
           
private  String type
           
private  String url
           
 
Constructor Summary
Enclosure()
          Default Constructor.
 
Method Summary
 String getLength(boolean formatted)
          Get the length of the enclosure
 String getType()
          Get the type of the enclosure
 String getUrl()
          Get the URL of the enclosure
 void setLength(String length)
          Set the feedSize for the enclosure
 void setType(String type)
          Set the type of the enclosure
 void setUrl(String url)
          Set the enclosure of the enclosure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

private String length

type

private String type

url

private String url
Constructor Detail

Enclosure

public Enclosure()
Default Constructor. Init with "?"

Method Detail

getLength

public String getLength(boolean formatted)
Get the length of the enclosure

Parameters:
formatted - If TRUE return length formatted
Returns:
String

getType

public String getType()
Get the type of the enclosure

Returns:
String

getUrl

public String getUrl()
Get the URL of the enclosure

Returns:
String

setLength

public void setLength(String length)
Set the feedSize for the enclosure

Parameters:
length -

setType

public void setType(String type)
Set the type of the enclosure

Parameters:
type -

setUrl

public void setUrl(String url)
Set the enclosure of the enclosure

Parameters:
url -


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo