public class BoxFileAppendOutputStream extends BoxFileOutputStream
SIMPLE_UPLOAD_SIZE_LIMIT
コンストラクタと説明 |
---|
BoxFileAppendOutputStream(String path,
com.box.sdk.BoxItem.Info info,
BoxClient client)
コンストラクタ。
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
upload(InputStream in)
ファイルをアップロードします。
|
close, getOutputStream, write, write, write
flush
public BoxFileAppendOutputStream(String path, com.box.sdk.BoxItem.Info info, BoxClient client) throws BoxIOException
path
- パスinfo
- ファイル情報client
- BoxClientBoxIOException
- ローカルの一時ファイルの読み書きに失敗した場合protected void upload(InputStream in) throws BoxSDKException, BoxConfigurationException
BoxFileOutputStream
upload
クラス内 BoxFileOutputStream
in
- 対象のInputStreamBoxSDKException
- API呼び出しに失敗BoxConfigurationException
- 設定ファイルの読み込みに失敗Copyright © 2012 NTT DATA INTRAMART CORPORATION