jp.littlesoft.file.client
クラス SplitUploadClient

java.lang.Object
  上位を拡張 jp.littlesoft.file.client.SplitUploadClient

public class SplitUploadClient
extends Object

アップロード クライアントアプリケーションクラス

ファイルを分割してアップロードする、Javaクライアントアプリケーションクラスです。

バージョン:
1.3.0
作成者:
LittleSoft Corporation

コンストラクタの概要
SplitUploadClient(Attributes attributes, FileInputStream fileInputStream, IProgressListener iProgress)
          コンストラクタ。
 
メソッドの概要
 void execute()
          アップロードを実行する。
 void postData(SplitUploadParams params, DataOutputStream out, byte[] buff)
          multi-part送信用データ作成.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SplitUploadClient

public SplitUploadClient(Attributes attributes,
                         FileInputStream fileInputStream,
                         IProgressListener iProgress)
                  throws Exception
コンストラクタ。

パラメータ:
attributes - JSONオブジェクトのパラメータ群
fileInputStream - ファイル入力ストリーム
iProgress - ダウンロード状況の書込みクラス
例外:
Exception - 例外
メソッドの詳細

execute

public void execute()
             throws Exception
アップロードを実行する。

例外:
Exception - 例外

postData

public void postData(SplitUploadParams params,
                     DataOutputStream out,
                     byte[] buff)
              throws Exception
multi-part送信用データ作成.

パラメータ:
params -
out -
buff -
例外:
Exception - 例外


Copyright (C) 2006-2012 LittleSoft Corporation. All Rights Reserved.