/[classpath]/inetlib/source/gnu/inet/smtp/Parameter.java
ViewVC logotype

Diff of /inetlib/source/gnu/inet/smtp/Parameter.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by dog, Thu Oct 21 15:21:55 2004 UTC revision 1.7 by dog, Thu Nov 25 22:15:05 2004 UTC
# Line 1  Line 1 
1  /*  /*
2   * $Id$   * Parameter.java
3   * Copyright (C) 2003 The Free Software Foundation   * Copyright (C) 2003 The Free Software Foundation
4   *   *
5   * This file is part of GNU inetlib, a library.   * This file is part of GNU inetlib, a library.
# Line 42  package gnu.inet.smtp; Line 42  package gnu.inet.smtp;
42   * An ESMTP parameter.   * An ESMTP parameter.
43   *   *
44   * @author <a href="mailto:dog@gnu.org">Chris Burdess</a>   * @author <a href="mailto:dog@gnu.org">Chris Burdess</a>
  * @version $Revision$ $Date$  
45   */   */
46  public final class Parameter  public final class Parameter
47  {  {
# Line 55  public final class Parameter Line 54  public final class Parameter
54     * @param key the key     * @param key the key
55     * @param value the value     * @param value the value
56     */     */
57    public Parameter (String key, String value)    public Parameter(String key, String value)
58    {    {
59      this.key = key;      this.key = key;
60      this.value = value;      this.value = value;
# Line 64  public final class Parameter Line 63  public final class Parameter
63    /**    /**
64     * Returns the key.     * Returns the key.
65     */     */
66    public String getKey ()    public String getKey()
67    {    {
68      return key;      return key;
69    }    }
# Line 72  public final class Parameter Line 71  public final class Parameter
71    /**    /**
72     * Returns the value.     * Returns the value.
73     */     */
74    public String getValue ()    public String getValue()
75    {    {
76      return value;      return value;
77    }    }
# Line 80  public final class Parameter Line 79  public final class Parameter
79    /**    /**
80     * String form.     * String form.
81     */     */
82    public String toString ()    public String toString()
83    {    {
84      if (value == null)      if (value == null)
85        {        {
# Line 93  public final class Parameter Line 92  public final class Parameter
92    }    }
93    
94  }  }
95    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26