Class SyndFeedWrapper

java.lang.Object
com.saperion.rs.entityprovider.SyndFeedWrapper

public final class SyndFeedWrapper extends Object
This is a wrapper class for a Synd Feed (atom/rss).
Author:
sts
  • Method Details

    • 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