sae 怎么上傳文件 java api
1 回答

茅侃侃
TA貢獻1842條經(jīng)驗 獲得超22個贊
FileOutputStream fos =null;
if("appname".equals(appName)){//本地環(huán)境
fos = new FileOutputStream(
this.getPhysicalPath(this.url));
}else{
fos = new FileOutputStream("saestor://image/"+url);
}
BufferedInputStream bis = new BufferedInputStream(this.inputStream);
byte[] buff = new byte[128];
int count = -1;
- 1 回答
- 0 關注
- 680 瀏覽
添加回答
舉報
0/150
提交
取消