<< |  >>
#7363 Dodano: 22-03-2014 01:10. Głosów: 125
Why to use File.separator in java instead of /

You use File.separator because someday your program might run on a platform developed in a far-off land, a land of strange things and stranger people, where horses cry and cows operate all the elevators. In this land, people have traditionally used the ":" character as a file separator, and so dutifully the JVM obeys their wishes.

http://stackoverflow.com/questions/2417485/file-separator-vs-slash-in-paths
<< |  >>
Tbz_banner

Reklama