路径中的空格,变成%20,导致 new File(path) 报错 FileNotFoundException 找不到指定的文件。
利用URLEncode.decode(path,"utf-8")解决.
路径中的空格,变成%20,导致 new File(path) 报错 FileNotFoundException 找不到指定的文件。
利用URLEncode.decode(path,"utf-8")解决.
转载于:https://my.oschina.net/u/3018126/blog/3079702