Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.mail.internet
Class ParameterList  view ParameterList download ParameterList.java

java.lang.Object
  extended byjavax.mail.internet.ParameterList

public class ParameterList
extends java.lang.Object

Version:
$Rev: 54266 $ $Date: 2004-10-10 14:02:50 -0700 (Sun, 10 Oct 2004) $

Field Summary
private  java.util.Map _parameters
           
 
Constructor Summary
ParameterList()
           
ParameterList(java.lang.String list)
           
 
Method Summary
 java.lang.String get(java.lang.String name)
           
 java.util.Enumeration getNames()
           
 void remove(java.lang.String name)
           
 void set(java.lang.String name, java.lang.String value)
           
 int size()
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 java.lang.String toString(int lineBreak)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_parameters

private java.util.Map _parameters
Constructor Detail

ParameterList

public ParameterList()

ParameterList

public ParameterList(java.lang.String list)
              throws ParseException
Method Detail

size

public int size()

get

public java.lang.String get(java.lang.String name)

set

public void set(java.lang.String name,
                java.lang.String value)

remove

public void remove(java.lang.String name)

getNames

public java.util.Enumeration getNames()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


toString

public java.lang.String toString(int lineBreak)