Name

ContentDisposition

Synopsis

This class can be used to represent a MIME ContentDisposition value, or to create one from scratch.

public class ContentDisposition {
// Public Constructors
   public ContentDisposition();  
   public ContentDisposition(
        String s) throws javax.mail.internet.ParseException;  
   public ContentDisposition(String disposition, 
        ParameterList list);  
// Public Instance Methods
   public String getDisposition();                               // default:null
   public String getParameter( String name);  
   public ParameterList getParameterList();                      // default:null
   public void setDisposition( String disposition);  
   public void setParameter( String name, String value);  
   public void setParameterList( ParameterList list);  
// Public Methods Overriding Object
   public String toString();  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.