public class BlockOutputStream extends OutputStream
コンストラクタと説明 |
---|
BlockOutputStream(com.eaglesakura.android.net.NetworkConnector.CacheDatabase database,
String url,
int startIndex) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
close() |
void |
onCompleted()
データのDLが正常完了した場合に呼び出す
|
void |
write(byte[] buffer,
int offset,
int count) |
void |
write(int oneByte) |
flush, write
public BlockOutputStream(com.eaglesakura.android.net.NetworkConnector.CacheDatabase database, String url, int startIndex)
public void write(byte[] buffer, int offset, int count) throws IOException
write
クラス内 OutputStream
IOException
public void onCompleted()
public void write(int oneByte) throws IOException
write
クラス内 OutputStream
IOException
public void close() throws IOException
close
インタフェース内 Closeable
close
インタフェース内 AutoCloseable
close
クラス内 OutputStream
IOException