sae 怎么上传文件 java api

sae 怎么上传文件 java api


阿晨1998
浏览 637回答 1
1回答

茅侃侃

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;
打开App,查看更多内容
随时随地看视频慕课网APP