|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.io.InputStream
com.sun.mail.imap.IMAPInputStream
public final class IMAPInputStream
このクラスの実装は IMAP データストリームです。
コンストラクタの概要 | |
---|---|
IMAPInputStream(IMAPMessage msg,
String section,
int max)
IMAPInputStream を作成します。 |
メソッドの概要 | |
---|---|
int |
available()
Returns the number of bytes that can be read from this input stream without blocking. |
int |
read()
Reads the next byte of data from this buffered input stream. |
int |
read(byte[] b)
Reads up to b.length bytes of data from this input
stream into an array of bytes. |
int |
read(byte[] b,
int off,
int len)
Reads up to len bytes of data from this
input stream into the given buffer. |
クラス java.io.InputStream から継承されたメソッド |
---|
close, mark, markSupported, reset, skip |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public IMAPInputStream(IMAPMessage msg, String section, int max)
メソッドの詳細 |
---|
public int read() throws IOException
-1
is returned.
InputStream
内の read
IOException
public int read(byte[] b, int off, int len) throws IOException
len
bytes of data from this
input stream into the given buffer.
Returns the total number of bytes read into the buffer,
or -1
if there is no more data.
Note that this method mimics the "weird !" semantics of BufferedInputStream in that the number of bytes actually returned may be less that the requested value. So callers of this routine should be aware of this and must check the return value to insure that they have obtained the requisite number of bytes.
InputStream
内の read
IOException
public int read(byte[] b) throws IOException
b.length
bytes of data from this input
stream into an array of bytes.
Returns the total number of bytes read into the buffer, or
-1
is there is no more data.
Note that this method mimics the "weird !" semantics of BufferedInputStream in that the number of bytes actually returned may be less that the requested value. So callers of this routine should be aware of this and must check the return value to insure that they have obtained the requisite number of bytes.
InputStream
内の read
IOException
public int available() throws IOException
InputStream
内の available
IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |