Package com.saperion.rs.entityprovider
Class SyndFeedWrapper
- java.lang.Object
-
- com.saperion.rs.entityprovider.SyndFeedWrapper
-
public final class SyndFeedWrapper extends java.lang.Object
This is a wrapper class for a Synd Feed (atom/rss).- Author:
- sts
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SyndFeedWrapper
build()
Builds the content and the size of this wrapper.static SyndFeedWrapper
create(com.sun.syndication.feed.synd.SyndFeed feed)
Creates a new instance of this wrapper.byte[]
getContent()
Gets the content.long
getSize()
Gets the size.
-
-
-
Method Detail
-
build
public SyndFeedWrapper build() throws com.sun.syndication.io.FeedException
Builds the content and the size of this wrapper.- Returns:
- the synd feed wrapper
- Throws:
com.sun.syndication.io.FeedException
- the feed exception
-
getContent
public byte[] getContent()
Gets the content.- Returns:
- the content
-
getSize
public long getSize()
Gets the size.- Returns:
- the size
-
create
public static SyndFeedWrapper create(com.sun.syndication.feed.synd.SyndFeed feed)
Creates a new instance of this wrapper.- Parameters:
feed
- the feed- Returns:
- the synd feed wrapper
-
-