datareader.java.svn-base

来自「java 写的tr069协议CPE客户端程序」· SVN-BASE 代码 · 共 48 行

SVN-BASE
48
字号
/** *  */package cn.edu.njupt.sc.data;import java.io.File;/** * @author smartzxy@gmail.com *  */public interface DataReader {	/**	 * Set the data file from the given file name such as "data.xml".	 * 	 * @param file	 */	public void setSource(String file);	/**	 * Set the data file from the given File object.	 * 	 * @param file	 *	 */	public void setSource(File file);	/**	 * Query specific parameter's value from given path.	 * 	 * @param arg	 *            parameter path.	 * @return the value of parameter;This method does not return null.	 */	public String read(String arg);	/**	 * Query specific parameter's attribute from given path.	 * 	 * @param arg	 *            parameter path	 * @return the attribute value for the attribute with the given name, or	 *         null if there is no such attribute, or the empty string if the	 *         attribute value is empty.	 */	public String readAttribute(String arg, String attribute);}

⌨️ 快捷键说明

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