==Java ファイルの分割結合==
[[Java]]{{category コード片}}
java sdk 5.0 以上
boolean isFirstCreateFlg = true;
while((ret = is.read(buf)) > > 0) { if ((sizeCnt >>= sizeLimit) || isFirstCreateFlg) {
closeBufferdOutputStream(os);
os = getBufferedOutputStream(
int ret = -1;
for (int i=0; i<<fs.length ;i++) {
if (os == null) {
String originalFileName = absolutePath(od, fs[i].replaceFirst(FILE_NAME_REP, ""));
is = getBufferedInputStream(absolutePath(od, fs[i]));
while((ret = is.read(buf)) > > 0) {
os.write(buf, 0, ret);
os.flush();