Package com.saperion.rs.entityprovider
Class SyndFeedWrapper
java.lang.Object
com.saperion.rs.entityprovider.SyndFeedWrapper
This is a wrapper class for a Synd Feed (atom/rss).
- Author:
- sts
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
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[]
Gets the content.long
getSize()
Gets the size.
-
Method Details
-
build
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
Creates a new instance of this wrapper.- Parameters:
feed
- the feed- Returns:
- the synd feed wrapper
-