Java Platform 1.2
Beta 4

Class java.util.mime.MimeTypeParameterList

java.lang.Object
  |
  +--java.util.mime.MimeTypeParameterList

public class MimeTypeParameterList
extends Object
implements Cloneable
An object that encapsualtes the parameter list of a MimeType as defined in RFC 2045 and 2046.


Constructor Summary
MimeTypeParameterList()
          Default constructor.
MimeTypeParameterList(String rawdata)
           
 
Method Summary
 Object clone()
           
 String get(String name)
          Retrieve the value associated with the given name, or null if there is no current association.
 Enumeration getNames()
          Retrieve an enumeration of all the names in this list.
 boolean isEmpty()
          Determine whether or not this list is empty.
protected  void parse(String rawdata)
          A routine for parsing the parameter list out of a String.
 void remove(String name)
          Remove any value associated with the given name.
 void set(String name, String value)
          Set the value to be associated with the given name, replacing any previous association.
 int size()
          return the number of name-value pairs in this list.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

Constructor Detail

MimeTypeParameterList

public MimeTypeParameterList()
Default constructor.

MimeTypeParameterList

public MimeTypeParameterList(String rawdata)
                      throws MimeTypeParseException
Method Detail

parse

protected void parse(String rawdata)
              throws MimeTypeParseException
A routine for parsing the parameter list out of a String.

size

public int size()
return the number of name-value pairs in this list.

isEmpty

public boolean isEmpty()
Determine whether or not this list is empty.

get

public String get(String name)
Retrieve the value associated with the given name, or null if there is no current association.

set

public void set(String name,
                String value)
Set the value to be associated with the given name, replacing any previous association.

remove

public void remove(String name)
Remove any value associated with the given name.

getNames

public Enumeration getNames()
Retrieve an enumeration of all the names in this list.

toString

public String toString()
Overrides:
toString in class Object

clone

public Object clone()
             throws CloneNotSupportedException
Returns:
a clone of this object
Overrides:
clone in class Object

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.