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

茅侃侃
TA贡献1842条经验 获得超21个赞
FileOutputStream fos =null;
if("appname".equals(appName)){//本地环境
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 关注
- 658 浏览
添加回答
举报
0/150
提交
取消