rssfeeddatasource.java

来自「RssFeed阅读器,可以任意加入删除管理任何RSS FEED,采用多性程打开你」· Java 代码 · 共 39 行

JAVA
39
字号
/**
 * 
 */
package RssFeeds;

import java.util.Set;

/**
 * @author Jack
 *
 */
public interface RssFeedDataSource {
	
	/**
	 * Finalizes any resources used by the data source and
	 * ensures data is persisited.
	 */
	void close();

	/**
	 * Retrieves a set of feeds from the data source that are used 
	 * in the feed list.
	 * 
	 * @return 
	 * 		set of feed names.
	 */
	Set<String> feedSet();

	/**
	 * Retrieves a set of Items from the data source that are used
	 * in the item list.
	 * @param str
	 * 		the selected feed name
	 * @return 
	 * 		set of feed items.
	 */
	Set<String> itemSet(String str);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?