ipersistable.java

来自「eclipseme的最新版本的source,欢迎j2me程序员使用」· Java 代码 · 共 40 行

JAVA
40
字号
/**
 * Copyright (c) 2003-2005 Craig Setera
 * All Rights Reserved.
 * Licensed under the Eclipse Public License - v 1.0
 * For more information see http://www.eclipse.org/legal/epl-v10.html
 */
package eclipseme.core.persistence;

/**
 * Instances of this interface are capable of saving and restoring
 * their state.
 * <p />
 * Copyright (c) 2003-2005 Craig Setera<br>
 * All Rights Reserved.<br>
 * Licensed under the Eclipse Public License - v 1.0<p/>
 * <br>
 * $Revision: 1.1 $
 * <br>
 * $Date: 2006/02/11 21:26:57 $
 * <br>
 * @author Craig Setera
 */
public interface IPersistable {
	/**
	 * Load the state of this object using the specified persistence state information.
	 * 
	 * @param persistenceProvider
	 * @throws PersistenceException
	 */
	public void loadUsing(IPersistenceProvider persistenceProvider) throws PersistenceException;
	
	/**
	 * Save the state of this object using the specified persistence state information.
	 * 
	 * @param persistenceProvider
	 * @throws PersistenceException
	 */
	public void storeUsing(IPersistenceProvider persistenceProvider) throws PersistenceException;
}

⌨️ 快捷键说明

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