I get a jar file url at runtime as:
jar:file:///C:/proj/parser/jar/parser.jar!/test.xml
How can this be converted to a valid path as:
C:/proj/parser/jar/parser.jar.
I have already tried using File(URI)
, getPath()
, getFile()
in vain.
I get a jar file url at runtime as:
jar:file:///C:/proj/parser/jar/parser.jar!/test.xml
How can this be converted to a valid path as:
C:/proj/parser/jar/parser.jar.
I have already tried using File(URI)
, getPath()
, getFile()
in vain.
You can do this.This works