KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > mail > internet > ContentType

javax.mail.internet
Class ContentType

java.lang.Object
  extended byjavax.mail.internet.ContentType
See Also:
Top Examples, Source Code

public ContentType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ContentType(String s)
            throws ParseException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[649]Set mail message content type to html
By Anonymous on 2004/02/04 12:41:21  Rate
msg.setContentType ( "text/html" ) ;

public ContentType(String primaryType,
                   String subType,
                   ParameterList list)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getBaseType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getParameter(String name)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ParameterList getParameterList()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getPrimaryType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getSubType()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean match(String s)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean match(ContentType cType)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setParameter(String name,
                         String value)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setParameterList(ParameterList list)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setPrimaryType(String primaryType)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSubType(String subType)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags