mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Add method for adding an RSS feed from an input stream.
This commit is contained in:
@@ -6,6 +6,7 @@ import org.briarproject.bramble.api.sync.ClientId;
|
||||
import org.briarproject.nullsafety.NotNullByDefault;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.List;
|
||||
|
||||
@NotNullByDefault
|
||||
@@ -22,10 +23,17 @@ public interface FeedManager {
|
||||
int MAJOR_VERSION = 0;
|
||||
|
||||
/**
|
||||
* Adds an RSS feed as a new dedicated blog.
|
||||
* Adds an RSS feed as a new dedicated blog, or updates the existing blog
|
||||
* if a blog for the feed already exists.
|
||||
*/
|
||||
Feed addFeed(String url) throws DbException, IOException;
|
||||
|
||||
/**
|
||||
* Adds an RSS feed as a new dedicated blog, or updates the existing blog
|
||||
* if a blog for the feed already exists.
|
||||
*/
|
||||
Feed addFeed(InputStream in) throws DbException, IOException;
|
||||
|
||||
/**
|
||||
* Removes an RSS feed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user