From: cvs@openprivacy.orgCVS update: talon/src/java/talon/util
Date: Friday March 9, 19101 @ 16:10
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-serv17970/src/java/talon/util
Modified Files:
BasePropertyManager.java
Log Message:
reworked component initialization. ...
*****************************************************************
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.7
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/util/BasePropertyManager.java?rev=1.7&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.7&r2=1.6
-----------------------------------
Index: talon/src/java/talon/util/BasePropertyManager.java
diff -u talon/src/java/talon/util/BasePropertyManager.java:1.6 talon/src/java/talon/util/BasePropertyManager.java:1.7
--- talon/src/java/talon/util/BasePropertyManager.java:1.6 Sun Feb 11 14:02:12 2001
+++ talon/src/java/talon/util/BasePropertyManager.java Fri Mar 9 16:10:44 2001
@@ -21,7 +21,7 @@
* Base class for handling properties.
*
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 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.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public Object getProperty( String name ) {
return this.props.get( 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.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public Object getProperty( String name, Object _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.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public boolean getBoolean( String name ) {
String value = getString( name );
@@ -73,7 +73,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public PropertyManager setBoolean( String name, boolean value ) {
@@ -89,7 +89,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public PropertyManager setString( String name, String value ) {
setProperty( name, value );
@@ -99,7 +99,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public String getString( String name ) {
return (String)getProperty( name );
@@ -109,7 +109,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public String getString( String _name, String _default ) {
@@ -127,7 +127,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public Vector getVector( String name ) {
@@ -154,7 +154,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public PropertyManager getGroup( String key ) {
@@ -195,7 +195,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public PropertyManager setProperty( String name, Object value ) {
@@ -211,7 +211,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public Enumeration getKeys() {
return this.props.keys();
@@ -220,7 +220,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public void setProperties( Properties props ) {
this.props = props;
@@ -229,7 +229,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public void require( String[] properties ) throws TalonException {
@@ -245,7 +245,7 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
public boolean exists( String key ) {
return props.get( key ) != null;
@@ -254,25 +254,25 @@
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
- public void list() {
- list( System.out );
+ public void dump() {
+ dump( System.out );
}
/**
* @see PropertyManager
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
- public void list( PrintStream ps) {
+ public void dump( PrintStream ps) {
ps.println( getPrettyPrint() );
}
/**
* @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: BasePropertyManager.java,v 1.6 2001/02/11 22:02:12 burton Exp $
+ * @version $Id: BasePropertyManager.java,v 1.7 2001/03/10 00:10:44 burton Exp $
*/
private String getPrettyPrint() {
@@ -288,13 +288,6 @@
Object value = getProperty( name );
- System.out.println( " FIXME: (debug): name: " + name );
-
- if ( value == null ) {
- System.out.println( " FIXME: (debug): value is null!!!! " );
- }
-
-
buff.append( name.toString() + " = " + value.toString() + "\n" );
}
This archive was generated by hypermail 2b30 : Fri Mar 09 2001 - 16:13:15 PST