public class Feed extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Feed.AscendingDateSort |
| Modifier and Type | Field and Description |
|---|---|
Person |
author |
String |
id |
String |
link |
String |
title |
Date |
updated |
| Constructor and Description |
|---|
Feed(String title,
String id,
Date updated) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(Entry entry) |
List<Entry> |
getEntries() |
static Feed |
getFeed(FeedPublisher publisher,
File file) |
static Feed |
getFeed(FeedPublisher publisher,
XML xml) |
String |
getXML(FeedPublisher publisher) |
String |
getXML(FeedPublisher publisher,
int limit) |
String |
toString() |
public String id
public String title
public Date updated
public String link
public Person author
public void addEntry(Entry entry)
public String getXML(FeedPublisher publisher) throws FeedException
FeedExceptionpublic String getXML(FeedPublisher publisher, int limit) throws FeedException
FeedExceptionpublic static Feed getFeed(FeedPublisher publisher, File file) throws FeedException, IOException
FeedExceptionIOExceptionpublic static Feed getFeed(FeedPublisher publisher, XML xml) throws FeedException
FeedExceptionCopyright © 2018. All rights reserved.