質問編集履歴
1
パラメータ追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,6 +18,12 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
+
追記:パラメータとしてファイルサイズを渡すことができます。
|
22
|
+
|
23
|
+
Long fileSize(現状、使用していません。)
|
24
|
+
|
25
|
+
|
26
|
+
|
21
27
|
関連の質問
|
22
28
|
|
23
29
|
[受け取ったInputStreamをReadメソッドで一定のバイト数毎に読み込みアップロードしたい](https://teratail.com/questions/96464)
|
@@ -30,7 +36,7 @@
|
|
30
36
|
|
31
37
|
```ここに言語を入力
|
32
38
|
|
33
|
-
public static void uploadPer5MBytes(String containerName, String objectName, String PID, String nowStr, InputStream in) throws IOException {
|
39
|
+
public static void uploadPer5MBytes(String containerName, String objectName, String PID, String nowStr, InputStream in, Long fileSize) throws IOException {
|
34
40
|
|
35
41
|
int offset;
|
36
42
|
|