com.liferay.util
Class RSSUtil

java.lang.Object
  extended by com.liferay.util.RSSUtil

public class RSSUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String ATOM
           
static double[] ATOM_VERSIONS
           
static java.lang.String DEFAULT_ENTRY_TYPE
           
static java.lang.String DEFAULT_FEED_TYPE
           
static java.lang.String DEFAULT_TYPE
           
static double DEFAULT_VERSION
           
static java.lang.String DISPLAY_STYLE_ABSTRACT
           
static java.lang.String DISPLAY_STYLE_FULL_CONTENT
           
static java.lang.String DISPLAY_STYLE_TITLE
           
static java.lang.String RSS
           
static double[] RSS_VERSIONS
           
 
Constructor Summary
RSSUtil()
           
 
Method Summary
static java.lang.String export(com.sun.syndication.feed.synd.SyndFeed feed)
           
static java.lang.String getFeedType(java.lang.String type, double version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RSS

public static final java.lang.String RSS
See Also:
Constant Field Values

RSS_VERSIONS

public static final double[] RSS_VERSIONS

ATOM

public static final java.lang.String ATOM
See Also:
Constant Field Values

ATOM_VERSIONS

public static final double[] ATOM_VERSIONS

DEFAULT_TYPE

public static final java.lang.String DEFAULT_TYPE
See Also:
Constant Field Values

DEFAULT_VERSION

public static final double DEFAULT_VERSION
See Also:
Constant Field Values

DEFAULT_ENTRY_TYPE

public static final java.lang.String DEFAULT_ENTRY_TYPE
See Also:
Constant Field Values

DEFAULT_FEED_TYPE

public static final java.lang.String DEFAULT_FEED_TYPE

DISPLAY_STYLE_ABSTRACT

public static final java.lang.String DISPLAY_STYLE_ABSTRACT
See Also:
Constant Field Values

DISPLAY_STYLE_FULL_CONTENT

public static final java.lang.String DISPLAY_STYLE_FULL_CONTENT
See Also:
Constant Field Values

DISPLAY_STYLE_TITLE

public static final java.lang.String DISPLAY_STYLE_TITLE
See Also:
Constant Field Values
Constructor Detail

RSSUtil

public RSSUtil()
Method Detail

export

public static java.lang.String export(com.sun.syndication.feed.synd.SyndFeed feed)
                               throws com.sun.syndication.io.FeedException
Throws:
com.sun.syndication.io.FeedException

getFeedType

public static java.lang.String getFeedType(java.lang.String type,
                                           double version)