commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy ConvertUtilsObjectStringConverter.java DefaultObjectStringConverter.java ObjectStringConverter.java
Date Thu, 21 Aug 2003 22:41:50 GMT
rdonkin     2003/08/21 15:41:50

  Modified:    betwixt/src/java/org/apache/commons/betwixt/strategy
                        ConvertUtilsObjectStringConverter.java
                        DefaultObjectStringConverter.java
                        ObjectStringConverter.java
  Log:
  Improved java docs
  
  Revision  Changes    Path
  1.2       +14 -7     jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ConvertUtilsObjectStringConverter.java
  
  Index: ConvertUtilsObjectStringConverter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ConvertUtilsObjectStringConverter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConvertUtilsObjectStringConverter.java	31 Jul 2003 21:38:08 -0000	1.1
  +++ ConvertUtilsObjectStringConverter.java	21 Aug 2003 22:41:50 -0000	1.2
  @@ -67,6 +67,9 @@
   
   /** 
    * String <-> object conversion strategy that delegates to ConvertUtils.
  + *
  + * @author Robert Burrell Donkin
  + * @version $Revision$
    */
   public class ConvertUtilsObjectStringConverter extends ObjectStringConverter {
       
  @@ -75,7 +78,9 @@
         *
         * @param object the object to be converted, possibly null
         * @param type the property class of the object, not null
  -      * @param flavour a string allow symantic differences in formatting to be communicated
(ignored)
  +      * @param flavour a string allow symantic differences in formatting 
  +      * to be communicated (ignored)
  +      * @param context not null
         * @return a String representation, not null
         */
       public String objectToString(Object object, Class type, String flavour, Context context)
{
  @@ -92,8 +97,10 @@
         * Converts an object to a string representation using ConvertUtils.
         * 
         * @param value the String to be converted, not null
  -      * @param the property class to be returned (if possible), not null
  -      * @param flavour a string allow symantic differences in formatting to be communicated
(ignored)
  +      * @param type the property class to be returned (if possible), not null
  +      * @param flavour a string allow symantic differences in formatting 
  +      * to be communicated (ignored)
  +      * @param context not null
         * @return an Object converted from the String, not null
         */
       public Object stringToObject(String value, Class type, String flavour, Context context)
{
  
  
  
  1.3       +5 -4      jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/DefaultObjectStringConverter.java
  
  Index: DefaultObjectStringConverter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/DefaultObjectStringConverter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultObjectStringConverter.java	21 Aug 2003 17:07:18 -0000	1.2
  +++ DefaultObjectStringConverter.java	21 Aug 2003 22:41:50 -0000	1.3
  @@ -83,6 +83,7 @@
    * (given the default settings).
    * </p>
    * @author Robert Burrell Donkin
  + * @version $Revision$
    */
   public class DefaultObjectStringConverter extends ConvertUtilsObjectStringConverter {
       
  
  
  
  1.3       +8 -5      jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ObjectStringConverter.java
  
  Index: ObjectStringConverter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/ObjectStringConverter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ObjectStringConverter.java	16 Aug 2003 06:28:42 -0000	1.2
  +++ ObjectStringConverter.java	21 Aug 2003 22:41:50 -0000	1.3
  @@ -79,6 +79,8 @@
    * objectToString to the result of stringToObject should be equal to the 
    * original input.
    * </p>
  + * @author Robert Burrell Donkin 
  + * @version
    */
   public class ObjectStringConverter implements Serializable {
       
  @@ -106,8 +108,9 @@
         * This basic implementation just returns a string.
         * 
         * @param value the String to be converted
  -      * @param the property class to be returned (if possible), not null
  +      * @param type the property class to be returned (if possible), not null
         * @param flavour a string allow symantic differences in formatting to be communicated
  +      * @param context not null
         * @return an Object converted from the String, not null
         */
       public Object stringToObject(String value, Class type, String flavour, Context context)
{
  
  
  

Mime
View raw message