From: cvs@openprivacy.orgCVS update: talon/src/java/talon/util
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/util
-----------------------------------
Update of /usr/local/cvs/public/talon/src/java/talon/util
In directory giga:/tmp/cvs-serv7002/src/java/talon/util
Modified Files:
BasePropertyManager.java
Log Message:
logger and property manager now being used... required for CompositeRCE
*****************************************************************
File: talon/src/java/talon/util/BasePropertyManager.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/util/BasePropertyManager.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/util/BasePropertyManager.java?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/util/BasePropertyManager.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: talon/src/java/talon/util/BasePropertyManager.java
diff -u talon/src/java/talon/util/BasePropertyManager.java:1.1 talon/src/java/talon/util/BasePropertyManager.java:1.2
--- talon/src/java/talon/util/BasePropertyManager.java:1.1 Tue Jan 16 08:06:32 2001
+++ talon/src/java/talon/util/BasePropertyManager.java Thu Jan 25 11:05:19 2001
@@ -20,7 +20,7 @@
* Base class for handling properties.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.1 2001/01/16 16:06:32 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.2 2001/01/25 19:05:19 burton Exp $
*/
public abstract class BasePropertyManager extends BaseComponent implements Component, PropertyManager {
@@ -30,7 +30,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.1 2001/01/16 16:06:32 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.2 2001/01/25 19:05:19 burton Exp $
*/
public String getProperty( String name ) {
return this.props.getProperty( name );
@@ -39,7 +39,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.1 2001/01/16 16:06:32 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.2 2001/01/25 19:05:19 burton Exp $
*/
public String getProperty( String name, String _default ) {
@@ -55,7 +55,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.1 2001/01/16 16:06:32 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.2 2001/01/25 19:05:19 burton Exp $
*/
public boolean getBoolean( String name ) {
String value = getProperty( name );
@@ -72,7 +72,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.1 2001/01/16 16:06:32 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.2 2001/01/25 19:05:19 burton Exp $
*/
public Vector getVector( String name ) {
@@ -101,31 +101,32 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.1 2001/01/16 16:06:32 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.2 2001/01/25 19:05:19 burton Exp $
*/
- public void setProperty( String name, String value ) {
+ public PropertyManager setProperty( String name, String value ) {
this.props.put( name, value );
+ return this;
}
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.1 2001/01/16 16:06:32 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.2 2001/01/25 19:05:19 burton Exp $
*/
- public void setBoolean( String name, boolean value ) {
+ public PropertyManager setBoolean( String name, boolean value ) {
if ( value ) {
this.props.put( name, "true" );
} else {
this.props.put( name, "false" );
}
-
+ return this;
}
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.1 2001/01/16 16:06:32 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.2 2001/01/25 19:05:19 burton Exp $
*/
public Enumeration getKeys() {
return this.props.keys();
@@ -135,7 +136,7 @@
*
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.1 2001/01/16 16:06:32 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.2 2001/01/25 19:05:19 burton Exp $
*/
public void setProperties( Properties props ) {
This archive was generated by hypermail 2b30 : Thu Jan 25 2001 - 11:05:50 PST