且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在java中,包含空格的文件路径显示为%20,我不确定为什么

更新时间:2023-02-23 11:07:49

它是url编码的.我不知道要取消编码的Java库,但我确定它已经存在并且相当容易使用.

It's url encoded. I dont know the java library to un-encode but I'm sure it's out there and fairly easy to use.

编辑- http://下载. oracle.com/javase/1.4.2/docs/api/java/net/URLDecoder.html

这也许吗?