localcatalogentry.java

来自「基于jxta的文件共享和聊天系统源代码,下载下来分析吧」· Java 代码 · 共 69 行

JAVA
69
字号
package local_catalog_manager;import java.net.URL;public class LocalCatalogEntry {	private URL url;	private String title;	private String description;	private String hash;		public LocalCatalogEntry(String t,String d, URL u)		{			title=t;			description=d;			url=u;			hash=null;		}	public LocalCatalogEntry(String t,String d, URL u,String h)	{		title=t;		description=d;		url=u;		hash=h;	}			/**	 * @return the hash	 */	public String getHash() {		return hash;	}	/**	 * @param hash the hash to set	 */	public void setHash(String hash) {		this.hash = hash;	}	/**	 * @return the description	 */	public String getDescription() {		return description;	}	/**	 * @return the title	 */	public String getTitle() {		return title;	}	/**	 * @return the url	 */	public URL getUrl() {		return url;	}	}

⌨️ 快捷键说明

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