apache commons VFS : how to resolve file having % character in file name?
-
06-07-2021 - |
Question
How to run apache common VFS resolovefile on my file with % character in the name ?
org.apache.commons.vfs.FileSystemException: Invalid URI escape sequence "%FILENAME"
Regards,
G Samrat
Solution
Percent is an escape character in URIs so it must itself be escaped as %25
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow