datawriter.java.svn-base

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

SVN-BASE
69
字号
/** *  */package cn.edu.njupt.sc.data;import java.io.File;/** * @author smartzxy@gmail.com *  */public interface DataWriter {	/**	 * Update new parameter value in data file.	 * 	 * @param arg	 *            the parameter needed to be updated.	 * @param value	 * @return	 */	public int update(String arg, String value);	/**	 * Insert new parameter value into data file.	 * 	 * @param arg	 *            the parameter needed to insert.	 * @param value	 * @return	 */	public int insert(String arg, String value);	/**	 * Delete a specific parameter from data file.	 * 	 * @param arg	 *            the parameter needed to be deleted.	 * @return	 */	public int delet(String arg);	/**	 * Save modification into data file.	 * 	 * @return 0 if save successfully, or -1 if fail.	 */	public int save();	/**	 * Close this writer.	 */	public void close();	/**	 * Set data file source from String object.	 * 	 * @param file	 */	public void setSource(String file);	/**	 * Set data file source from File object.	 * 	 * @param file	 */	public void setSource(File file);}

⌨️ 快捷键说明

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