📄 rsssourceentry.java
字号:
/*
* RSSSourceEntry.java
*
* Created on 2006年12月20日, 上午2:42
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package cn.edu.uestc.pandarss;
/**
*
* @author pandaxiaoxi
*/
/*--------------------------------------------------
* NewsSourceEntry.java
*
* Each news source has a description and http link
*-------------------------------------------------*/
public class RSSSourceEntry {
private String description, link;
public RSSSourceEntry(String description, String link) {
this.description = description;
this.link = link;
}
/*--------------------------------------------------
* Get description field
*-------------------------------------------------*/
public String getDescription() {
return description;
}
/*--------------------------------------------------
* Set description field
*-------------------------------------------------*/
public void setDescription(String description) {
this.description = description;
}
/*--------------------------------------------------
Forum.Nokia.com
J2ME? RSS News Reader 46
* Get linkfield
*-------------------------------------------------*/
public String getLink() {
return link;
}
/*--------------------------------------------------
* Set description field
*-------------------------------------------------*/
public void setLink(String link) {
this.link = link;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -