From: cvs@openprivacy.orgCVS update: talon/src/java/talon/interfaces
Date: Sunday March 11, 19101 @ 1:50
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/interfaces
-----------------------------------
Update of /usr/local/cvs/public/talon/src/java/talon/interfaces
In directory giga:/tmp/cvs-serv19665/src/java/talon/interfaces
Modified Files:
PropertyManager.java
Log Message:
now merging init properties if given handle doesn't have any
*****************************************************************
File: talon/src/java/talon/interfaces/PropertyManager.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/interfaces/PropertyManager.java?annotate=1.10
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/interfaces/PropertyManager.java?rev=1.10&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/interfaces/PropertyManager.java.diff?r1=1.10&r2=1.9
-----------------------------------
Index: talon/src/java/talon/interfaces/PropertyManager.java
diff -u talon/src/java/talon/interfaces/PropertyManager.java:1.9 talon/src/java/talon/interfaces/PropertyManager.java:1.10
--- talon/src/java/talon/interfaces/PropertyManager.java:1.9 Sun Mar 11 01:21:42 2001
+++ talon/src/java/talon/interfaces/PropertyManager.java Sun Mar 11 01:50:48 2001
@@ -19,7 +19,7 @@
* Class similar to java.lang.Properties
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public interface PropertyManager extends Component, Dumpable {
@@ -27,7 +27,7 @@
* Get a given property from parsed props.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public Object getProperty( String name );
@@ -35,7 +35,7 @@
* Get a given property from parsed props. Return default if it is not defined.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public Object getProperty( String name, Object value );
@@ -43,7 +43,7 @@
* Set a property
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public PropertyManager setProperty( String name, Object value );
@@ -51,7 +51,7 @@
* Get a property but assume it is a boolean
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public boolean getBoolean( String name );
@@ -60,7 +60,7 @@
* Set a boolean property
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public PropertyManager setBoolean( String namme, boolean value );
@@ -68,7 +68,7 @@
* get a string property
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public String getString( String _name );
@@ -76,7 +76,7 @@
* get a string property but specify a default.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public String getString( String _name, String _default );
@@ -84,7 +84,7 @@
* Set a string property
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public PropertyManager setString( String _name, String _value );
@@ -104,7 +104,7 @@
* requested a name of "example".
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public Vector getVector( String name );
@@ -128,7 +128,7 @@
*
* @see getVector#
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public PropertyManager getGroup( String key );
@@ -136,7 +136,7 @@
* Get all known keys for registered properties.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public Enumeration getKeys();
@@ -145,7 +145,7 @@
* They are not found then we should throw and Exception.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public void require( String[] properties ) throws RequiredPropertyException;
@@ -153,7 +153,7 @@
* Return true if the given key exists within this PropertyManager
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public boolean containsKey( String key );
@@ -161,9 +161,18 @@
* Return true if the given object exists within this PropertyManager
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.9 2001/03/11 09:21:42 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
*/
public boolean contains( Object object );
+
+ /**
+ * Return the number of object held.
+ *
+ * @see Hashtable
+ * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
+ * @version $Id: PropertyManager.java,v 1.10 2001/03/11 09:50:48 burton Exp $
+ */
+ public int size();
}
This archive was generated by hypermail 2b30 : Sun Mar 11 2001 - 01:50:49 PST