I\'ve little knowledge of Java. I need to construct a string representation of an URI from FilePath(String) on windows. Sometimes the inputFilePath
FilePath(String)
inputFilePath
The argument to new File(String) is a path, not a URI. The part of your post after 'but' is therefore an invalid use of the API.
new File(String)