/*
* ################################################################
*
* ProActive: The Java(TM) library for Parallel, Distributed,
*            Concurrent computing with Security and Mobility
*
* Copyright (C) 1997-2002 INRIA/University of Nice-Sophia Antipolis
* Contact: proactive-support@inria.fr
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
* USA
*
*  Initial developer(s):               The ProActive Team
*                        http://www.inria.fr/oasis/ProActive/contacts.html
*  Contributor(s):
*
* ################################################################
*/
package testsuite.bean;

import java.io.File;
import java.io.IOException;
import java.util.Properties;

/** <p>To initialize some parameters of a class from a properties file.</p>
 * <p>Example :</p>
 * <pre>
 * public class Toto {
 *    private String hostname = "localhost";
 *    private int port = 8802;
 *
 *    public void setHostname(String hostname){
 *        this.hostname = hostname;
 *    }
 *
 *    public void setPort(String port){
 *        this.port = Integer.parseInt(port);
 *    }
 * }
 *
 * In properties file :
 *
 * port=8888
 * hostname=toto
 * </pre>
 *
 * @author Alexandre di Costanzo
 */
public interface Beanable {
	
	public void loadAttributes() throws IOException;
	
	public void loadAttributes(File propsFile) throws IOException;

	public void loadAttributes(Properties properties);
	
}

@@ -1304,16 +1304,17 @@
 eption;%0A
+%0A
 import j
@@ -1335,16 +1335,17 @@
 rties;%0A%0A
+%0A
 /** %3Cp%3ET
@@ -1879,128 +1879,637 @@
 e %7B%0A
-%09%0A%09public void loadAttributes() throws IOException;%0A%09%0A%09public void loadAttributes(File propsFile) throws IOException;%0A%0A%09
+%0A    /**%0A     * To load attributes from a default properties file.%0A     * @throws IOException Signals that an I/O exception of some sort has occurred.%0A     */%0A    public void loadAttributes() throws IOException;%0A%0A    /**%0A     * To load attributes from a specified properties file.%0A     * @param propsFile the properties file.%0A     * @throws IOException Signals that an I/O exception of some sort has occurred.%0A     */%0A    public void loadAttributes(File propsFile) throws IOException;%0A%0A    /**%0A     * To load attrobutes from Java properties.%0A     * @see java.util.Properties%0A     * @param properties Java properties.%0A     */%0A    
 publ
@@ -2559,8 +2559,6 @@
 s);%0A
-%09%0A
 %7D%0A

Add Javadoc