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.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.