public String getFilieByBufferInputStreamWriteToTemp(String srcFileNameTempPath,BufferedInputStream bufferedInputStream) throws Exception{
File newFile = new File(srcFileNameTempPath);
String path = newFile.getAbsolutePath();
byte[] buffer = new byte[1024];
int len = 0;
java.io.File file = new File(path);
File fileParent = file.getParentFile();
if (!fileParent.exists()) {
fileParent.mkdirs();
}
OutputStream out = new FileOutputStream(path);
while ((len = bufferedInputStream.read(buffer)) != -1) {
out.write(buffer, 0, len);
}
out.close();
return path;
}