net.rim.device.api.io.parser.rss.model
Class RSSMediaContent

java.lang.Object
  extended by net.rim.device.api.io.parser.rss.model.RSSMediaContent

public class RSSMediaContent
extends Object

Model class for the media content of an RSS audio or video item.

Since:
BlackBerry API 6.0.0

Constructor Summary
RSSMediaContent()
          Constructs an RSSMediaContent.
 
Method Summary
 long getFileSize()
          Returns the length of the media file.
 String getFileType()
          Returns the type of media file.
 String getLink()
          Returns the URL for the media file.
 void setFileSize(long fileSize)
          Sets the length of the media file.
 void setFileType(String fileType)
          Sets the type of media file.
 void setLink(String link)
          Sets the URL for the media file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

RSSMediaContent

public RSSMediaContent()
Constructs an RSSMediaContent.

Since:
BlackBerry API 6.0.0


Method Detail

getLink

public String getLink()
Returns the URL for the media file.

Returns:
URL for the media file.
Since:
BlackBerry API 6.0.0

setLink

public void setLink(String link)
Sets the URL for the media file.

Parameters:
link - URL for the media file.
Since:
BlackBerry API 6.0.0

getFileType

public String getFileType()
Returns the type of media file.

Returns:
The media file type.
Since:
BlackBerry API 6.0.0

setFileType

public void setFileType(String fileType)
Sets the type of media file.

Parameters:
fileType - Type of the media file
Since:
BlackBerry API 6.0.0

getFileSize

public long getFileSize()
Returns the length of the media file.

Returns:
Length of the media file.
Since:
BlackBerry API 6.0.0

setFileSize

public void setFileSize(long fileSize)
Sets the length of the media file.

Parameters:
fileSize - Length of the media file.
Since:
BlackBerry API 6.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal