CVS update: talon/src/java/talon/interfaces

From: cvs@openprivacy.org
Date: Wed Feb 07 2001 - 01:59:33 PST

  • Next message: cvs@openprivacy.org: "CVS update: talon/src/java/talon/tests"

    Date: Wednesday February 7, 19101 @ 1:59
    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-serv11350/src/java/talon/interfaces

    Modified Files:
            PropertyManager.java
    Log Message:
    ...

    *****************************************************************
    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.5

    CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/interfaces/PropertyManager.java?rev=1.5&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.5&r2=1.4

    -----------------------------------

    Index: talon/src/java/talon/interfaces/PropertyManager.java
    diff -u talon/src/java/talon/interfaces/PropertyManager.java:1.4 talon/src/java/talon/interfaces/PropertyManager.java:1.5
    --- talon/src/java/talon/interfaces/PropertyManager.java:1.4 Wed Feb 7 00:17:14 2001
    +++ talon/src/java/talon/interfaces/PropertyManager.java Wed Feb 7 01:59:33 2001
    @@ -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.4 2001/02/07 08:17:14 burton Exp $
    + * @version $Id: PropertyManager.java,v 1.5 2001/02/07 09:59:33 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.4 2001/02/07 08:17:14 burton Exp $
    + * @version $Id: PropertyManager.java,v 1.5 2001/02/07 09:59:33 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.4 2001/02/07 08:17:14 burton Exp $
    + * @version $Id: PropertyManager.java,v 1.5 2001/02/07 09:59:33 burton Exp $
          */
         public String getProperty( String name, String value );
         
    @@ -40,38 +40,51 @@
          * 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.4 2001/02/07 08:17:14 burton Exp $
    + * @version $Id: PropertyManager.java,v 1.5 2001/02/07 09:59:33 burton Exp $
          */
         public boolean getBoolean( String name );
     
         /**
    + * <p>
          * Get a property but assume it is multivalued. A good example is a set or
          * properties such as:
          *
    + * <p>
    + * <pre>
          * example.0=foo
          * example.1=bar
    + * </pre>
          *
    + * <p>
          * This would return a Vector 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.4 2001/02/07 08:17:14 burton Exp $
    + * @version $Id: PropertyManager.java,v 1.5 2001/02/07 09:59:33 burton Exp $
          */
         public Vector getVector( String name );
     
         /**
    + * <p>
          * Similar to getVector but returns every property with the given key.
          *
    + * <p>
    + * <pre>
          * example.0.foo_name=foo_value
          * example.0.bar_name=bar_value
    + * </pre>
          *
    + * <p>
          * This would return a Hashtable which contained "foo_name" and "bar_var" if you
          * requested a name of "example.0". Note that the key is removed so that
          * this Hashtable can be passed in a logical manner.
          *
    + * <p>
    + * If no values are found then this should return null.
    + *
          * @see getVector#
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: PropertyManager.java,v 1.4 2001/02/07 08:17:14 burton Exp $
    + * @version $Id: PropertyManager.java,v 1.5 2001/02/07 09:59:33 burton Exp $
          */
         public Hashtable getGroup( String key );
         
    @@ -79,7 +92,7 @@
          * Set a property
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: PropertyManager.java,v 1.4 2001/02/07 08:17:14 burton Exp $
    + * @version $Id: PropertyManager.java,v 1.5 2001/02/07 09:59:33 burton Exp $
          */
         public PropertyManager setProperty( String name, String value );
     
    @@ -87,7 +100,7 @@
          * Set a boolean property
          *
          * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
    - * @version $Id: PropertyManager.java,v 1.4 2001/02/07 08:17:14 burton Exp $
    + * @version $Id: PropertyManager.java,v 1.5 2001/02/07 09:59:33 burton Exp $
          */
         public PropertyManager setBoolean( String namme, boolean value );
     
    @@ -95,7 +108,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.4 2001/02/07 08:17:14 burton Exp $
    + * @version $Id: PropertyManager.java,v 1.5 2001/02/07 09:59:33 burton Exp $
          */
         public Enumeration getKeys();
         



    This archive was generated by hypermail 2b30 : Wed Feb 07 2001 - 02:00:35 PST