@Deprecated public class SyndFeedRepresentation extends WriterRepresentation
SyndFeed.getEntries()
, which you can
access via getFeed()
.UNKNOWN_SIZE
Constructor and Description |
---|
SyndFeedRepresentation()
Deprecated.
Constructs a UTF8 RSS 2.0 feed.
|
SyndFeedRepresentation(Representation feedRepresentation)
Deprecated.
Constructor that parses the given feed representation.
|
SyndFeedRepresentation(String feedType)
Deprecated.
Constructs a UTF8 feed.
|
SyndFeedRepresentation(String feedType,
CharacterSet characterSet)
Deprecated.
Constructs a feed.
|
SyndFeedRepresentation(String feedType,
List<?> entries,
CharacterSet characterSet)
Deprecated.
Constructs a feed.
|
SyndFeedRepresentation(com.sun.syndication.feed.synd.SyndFeed feed)
Deprecated.
Constructor around an existing feed.
|
Modifier and Type | Method and Description |
---|---|
com.sun.syndication.feed.synd.SyndFeed |
getFeed()
Deprecated.
The wrapped feed.
|
static MediaType |
getMediaType(String feedType)
Deprecated.
Converts a feed type to a media type.
|
void |
write(Writer writer)
Deprecated.
|
getReader
getChannel, getStream, write, write
append, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, release, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransient
getModificationDate, getTag, setModificationDate, setTag
createClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toString
public SyndFeedRepresentation()
public SyndFeedRepresentation(Representation feedRepresentation) throws IOException
feedRepresentation
- The feed representation to parse.IOException
public SyndFeedRepresentation(String feedType)
feedType
- The feed type (see ROME documentation)public SyndFeedRepresentation(String feedType, CharacterSet characterSet)
feedType
- The feed type (see ROME documentation)characterSet
- The character setpublic SyndFeedRepresentation(String feedType, List<?> entries, CharacterSet characterSet)
feedType
- The feed type (see ROME documentation)entries
- The list of entriescharacterSet
- The character setpublic SyndFeedRepresentation(com.sun.syndication.feed.synd.SyndFeed feed)
feed
- The feed (must have a valid feedType!)public static MediaType getMediaType(String feedType)
feedType
- The source feed type.public com.sun.syndication.feed.synd.SyndFeed getFeed()
public void write(Writer writer) throws IOException
write
in class Representation
IOException
Copyright © 2005-2015 Restlet.