I have developed a number of classes which manipulate files in Java. I am working on a Linux box, and have been blissfully typing new File(\"path/to/some/file\");
new File(\"path/to/some/file\");
Do you have the option of using
System.getProperty("file.separator")
to build the string that represents the path?