File.separator is a " system-dependent default name-separator character ". On a windows environment, it will be '\', on a linux environment, it will be '/'.
Same for the file.pathSeparator. On a windows environment it will be ';' and on a linux environment I think it's a ':'
You obviously want your source file dynamically enough to work well on other environments without problems.
Oracle Java SE6 Certified Programmer
Oracle Java EE5 Certified Web Component Developer
Pivotal Certified Spring Professional
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?
Programmatically Create PDF Using Free Spire.PDF with Java