What's the best way of processing *ix file path strings when running on Windows?
If I just use Paths.get() it invokes Filesystem.getDefault() which ends up processing it like a Windows path. The parsing seems to work in my tests but they're pretty rudimentary, and of course toString uses the wrong path separator.
Can I manually load up the LinuxFileSystem somehow? Or should I use the commons-io parser instead?
/as well as'\'as the file separator character, in their API's. So most likely you don't need to do anything, as long as everything on Windows will be on the same drive. If this doesn't work, please provide an example of what doesn't work and what you want to accomplish.