org.marre.mime
Class MimeHeader

java.lang.Object
  extended byorg.marre.mime.MimeHeader
Direct Known Subclasses:
MimeContentType

public class MimeHeader
extends java.lang.Object


Field Summary
protected  java.lang.String myHeaderName
           
protected  java.lang.String myHeaderValue
           
protected  java.util.List myParams
           
 
Constructor Summary
protected MimeHeader()
           
  MimeHeader(java.lang.String theName, java.lang.String theValue)
           
 
Method Summary
 java.util.List getAllParams()
           
 java.lang.String getName()
           
 MimeHeaderParam getParam(int theIndex)
           
 MimeHeaderParam getParam(java.lang.String theName)
           
 int getParamCount()
           
 java.lang.String getValue()
           
 void removeParam(java.lang.String theName)
           
 void setParam(java.lang.String theName, java.lang.String theValue)
           
 void setValue(java.lang.String theValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myHeaderName

protected java.lang.String myHeaderName

myHeaderValue

protected java.lang.String myHeaderValue

myParams

protected java.util.List myParams
Constructor Detail

MimeHeader

protected MimeHeader()

MimeHeader

public MimeHeader(java.lang.String theName,
                  java.lang.String theValue)
Method Detail

setValue

public void setValue(java.lang.String theValue)

getName

public java.lang.String getName()

getValue

public java.lang.String getValue()

setParam

public void setParam(java.lang.String theName,
                     java.lang.String theValue)

getParam

public MimeHeaderParam getParam(java.lang.String theName)

removeParam

public void removeParam(java.lang.String theName)

getAllParams

public java.util.List getAllParams()

getParamCount

public int getParamCount()

getParam

public MimeHeaderParam getParam(int theIndex)

toString

public java.lang.String toString()


Copyright © 2002-2005 Markus Eriksson. All Rights Reserved.