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
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!