com.liferay.util
Class RSSUtil

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

public class RSSUtil
extends java.lang.Object

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String ATOM
           
static double[] ATOM_VERSIONS
           
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 ENTRY_TYPE_DEFAULT
           
static java.lang.String FEED_TYPE_DEFAULT
           
static java.lang.String RSS
           
static double[] RSS_VERSIONS
           
static java.lang.String TYPE_DEFAULT
           
static double VERSION_DEFAULT
           
 
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)
           
static java.lang.String getFormatType(java.lang.String format)
           
static double getFormatVersion(java.lang.String format)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATOM

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

ATOM_VERSIONS

public static final double[] ATOM_VERSIONS

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

ENTRY_TYPE_DEFAULT

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

FEED_TYPE_DEFAULT

public static final java.lang.String FEED_TYPE_DEFAULT

RSS

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

RSS_VERSIONS

public static final double[] RSS_VERSIONS

TYPE_DEFAULT

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

VERSION_DEFAULT

public static final double VERSION_DEFAULT
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)

getFormatType

public static java.lang.String getFormatType(java.lang.String format)

getFormatVersion

public static double getFormatVersion(java.lang.String format)