org.aminds.io.mime
クラス MimeOutputStream

java.lang.Object
  上位を拡張 java.io.OutputStream
      上位を拡張 java.io.FilterOutputStream
          上位を拡張 org.aminds.io.mime.MimeOutputStream
すべての実装されたインタフェース:
Closeable, Flushable

public class MimeOutputStream
extends FilterOutputStream

OutputStream that writes out in the MIME format

作成者:
Masashi Nakanishi

フィールドの概要
 
クラス java.io.FilterOutputStream から継承されたフィールド
out
 
コンストラクタの概要
MimeOutputStream(OutputStream out)
           
MimeOutputStream(OutputStream out, ContentType ctype, InternetHeaders headers)
           
MimeOutputStream(OutputStream out, String primaryType, String subType, ParameterList list)
           
 
メソッドの概要
 void close()
           
 void closePart()
           
 void finish()
           
 void flush()
           
 String getCharset()
           
 void putNextPart()
           
 void putNextPart(Enumeration<Header> headers)
           
 void putNextPart(Header[] headers)
           
 void putNextPart(InputStream in)
           
 void putNextPart(InternetHeaders headers)
           
 void putNextPart(InternetHeaders headers, int bufferSize)
           
 void putNextPart(MimeBodyPart part)
           
 void setCharset(String charset)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
クラス java.io.FilterOutputStream から継承されたメソッド
write
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MimeOutputStream

public MimeOutputStream(OutputStream out)

MimeOutputStream

public MimeOutputStream(OutputStream out,
                        String primaryType,
                        String subType,
                        ParameterList list)

MimeOutputStream

public MimeOutputStream(OutputStream out,
                        ContentType ctype,
                        InternetHeaders headers)
メソッドの詳細

putNextPart

public void putNextPart()
                 throws IOException
例外:
IOException

putNextPart

public void putNextPart(InputStream in)
                 throws IOException
例外:
IOException

putNextPart

public void putNextPart(Enumeration<Header> headers)
                 throws IOException
例外:
IOException

putNextPart

public void putNextPart(Header[] headers)
                 throws IOException
例外:
IOException

putNextPart

public void putNextPart(InternetHeaders headers)
                 throws IOException
例外:
IOException

putNextPart

public void putNextPart(InternetHeaders headers,
                        int bufferSize)
                 throws IOException
例外:
IOException

putNextPart

public void putNextPart(MimeBodyPart part)
                 throws IOException
例外:
IOException

getCharset

public String getCharset()
                  throws IOException
例外:
IOException

setCharset

public void setCharset(String charset)
                throws IOException
例外:
IOException

closePart

public void closePart()
               throws IOException
例外:
IOException

write

public void write(int b)
           throws IOException
オーバーライド:
クラス FilterOutputStream 内の write
例外:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException,
                  IndexOutOfBoundsException
オーバーライド:
クラス FilterOutputStream 内の write
例外:
IOException
IndexOutOfBoundsException

finish

public void finish()
            throws IOException
例外:
IOException

flush

public void flush()
           throws IOException
定義:
インタフェース Flushable 内の flush
オーバーライド:
クラス FilterOutputStream 内の flush
例外:
IOException

close

public void close()
           throws IOException
定義:
インタフェース Closeable 内の close
オーバーライド:
クラス FilterOutputStream 内の close
例外:
IOException


Copyright © 2010. All Rights Reserved.