Liferay 6.2-ce-ga5

com.liferay.util
Class RSSUtil

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

public class RSSUtil
extends Object


Field Summary
static String ATOM
           
static String DISPLAY_STYLE_ABSTRACT
           
static String DISPLAY_STYLE_DEFAULT
           
static String DISPLAY_STYLE_FULL_CONTENT
           
static String DISPLAY_STYLE_TITLE
           
static String[] DISPLAY_STYLES
           
static String ENTRY_TYPE_DEFAULT
           
static String FEED_TYPE_DEFAULT
           
static String[] FEED_TYPES
           
static String FORMAT_DEFAULT
           
static String RSS
           
static String TYPE_DEFAULT
          Deprecated. As of 6.2.0, replaced by FORMAT_DEFAULT
static double VERSION_DEFAULT
           
 
Constructor Summary
RSSUtil()
           
 
Method Summary
static String export(com.sun.syndication.feed.synd.SyndFeed feed)
           
static String getFeedType(String type, double version)
           
static String getFeedTypeFormat(String feedType)
           
static String getFeedTypeName(String feedType)
           
static double getFeedTypeVersion(String feedType)
           
static String getFormatType(String format)
           
static double getFormatVersion(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 String ATOM
See Also:
Constant Field Values

DISPLAY_STYLE_ABSTRACT

public static final String DISPLAY_STYLE_ABSTRACT
See Also:
Constant Field Values

DISPLAY_STYLE_DEFAULT

public static final String DISPLAY_STYLE_DEFAULT

DISPLAY_STYLE_FULL_CONTENT

public static final String DISPLAY_STYLE_FULL_CONTENT
See Also:
Constant Field Values

DISPLAY_STYLE_TITLE

public static final String DISPLAY_STYLE_TITLE
See Also:
Constant Field Values

DISPLAY_STYLES

public static final String[] DISPLAY_STYLES

ENTRY_TYPE_DEFAULT

public static final String ENTRY_TYPE_DEFAULT
See Also:
Constant Field Values

FEED_TYPE_DEFAULT

public static final String FEED_TYPE_DEFAULT

FEED_TYPES

public static final String[] FEED_TYPES

FORMAT_DEFAULT

public static final String FORMAT_DEFAULT

RSS

public static final String RSS
See Also:
Constant Field Values

TYPE_DEFAULT

public static final String TYPE_DEFAULT
Deprecated. As of 6.2.0, replaced by FORMAT_DEFAULT

VERSION_DEFAULT

public static final double VERSION_DEFAULT
Constructor Detail

RSSUtil

public RSSUtil()
Method Detail

export

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

getFeedType

public static String getFeedType(String type,
                                 double version)

getFeedTypeFormat

public static String getFeedTypeFormat(String feedType)

getFeedTypeName

public static String getFeedTypeName(String feedType)

getFeedTypeVersion

public static double getFeedTypeVersion(String feedType)

getFormatType

public static String getFormatType(String format)

getFormatVersion

public static double getFormatVersion(String format)

Liferay 6.2-ce-ga5