IAttachmentContext.java :  » Mail-Clients » columba-1.4 » org » columba » mail » gui » attachment » Java Open Source

Java Open Source » Mail Clients » columba 1.4 
columba 1.4 » org » columba » mail » gui » attachment » IAttachmentContext.java
package org.columba.mail.gui.attachment;

import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;

/**
 * Provides context information for attachment.
 * 
 * @author frd
 */
public interface IAttachmentContext {

  /**
   * Return attachment content.
   * 
   * @return  attachment content
   * @throws  in case of io error
   */
  public InputStream getContent() throws IOException;

  public String getFileName();

  public String getContentType();

  public String getContentSubtype();

  public Charset getCharset();

  public String getContentParameter(String key);

  public String getContentId();

  public String getContentDescription();

  public String getDispositionParameter(String key);

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.