From: cvs@openprivacy.orgCVS update: talon/src/java/talon/interfaces
Date: Thursday January 25, 19101 @ 11:05
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-serv7002/src/java/talon/interfaces
Modified Files:
PropertyManager.java
Log Message:
logger and property manager now being used... required for CompositeRCE
*****************************************************************
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.3
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/interfaces/PropertyManager.java?rev=1.3&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.3&r2=1.2
-----------------------------------
Index: talon/src/java/talon/interfaces/PropertyManager.java
diff -u talon/src/java/talon/interfaces/PropertyManager.java:1.2 talon/src/java/talon/interfaces/PropertyManager.java:1.3
--- talon/src/java/talon/interfaces/PropertyManager.java:1.2 Tue Jan 16 08:06:30 2001
+++ talon/src/java/talon/interfaces/PropertyManager.java Thu Jan 25 11:05:18 2001
@@ -1,6 +1,6 @@
/*
* This program is free software; you can redistribute it and/or modify it under
- * the terms of the LICENSE which you should have obtaind with this package.
+ * the terms of the LICENSE which you should have obtaind with this package.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
@@ -16,7 +16,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.2 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.3 2001/01/25 19:05:18 burton Exp $
*/
public interface PropertyManager {
@@ -24,7 +24,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.2 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.3 2001/01/25 19:05:18 burton Exp $
*/
public String getProperty( String name );
@@ -32,7 +32,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.2 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.3 2001/01/25 19:05:18 burton Exp $
*/
public String getProperty( String name, String value );
@@ -40,15 +40,22 @@
* 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.2 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.3 2001/01/25 19:05:18 burton Exp $
*/
public boolean getBoolean( String name );
/**
- * Get a property but assume it is multivalued.
+ * Get a property but assume it is multivalued. A good example is a set or
+ * properties such as:
*
+ * example.0=foo
+ * example.1=bar
+ *
+ * This would return an array which contained "foo" and "bar" if you
+ * requested a name of "example".
+ *
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.2 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.3 2001/01/25 19:05:18 burton Exp $
*/
public Vector getVector( String name );
@@ -56,23 +63,23 @@
* Set a property
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.2 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.3 2001/01/25 19:05:18 burton Exp $
*/
- public void setProperty( String name, String value );
+ public PropertyManager setProperty( String name, String value );
/**
* Set a boolean property
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PropertyManager.java,v 1.2 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.3 2001/01/25 19:05:18 burton Exp $
*/
- public void setBoolean( String namme, boolean value );
+ public PropertyManager setBoolean( String namme, boolean value );
/**
* 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.2 2001/01/16 16:06:30 burton Exp $
+ * @version $Id: PropertyManager.java,v 1.3 2001/01/25 19:05:18 burton Exp $
*/
public Enumeration getKeys();
This archive was generated by hypermail 2b30 : Thu Jan 25 2001 - 11:05:49 PST