[Advanced-java] Portable path delimiters

peter robinson Peter.Robinson at t-online.de
Wed Jul 2 19:53:09 2003


Hi all,

can anyone tell me the best way to create OS-independent path delimiters 
while creating files within a new directory within a java application. 
Although everything works well with *nix slashes on windows by hardcoding 
them, I wonder if there is a better way?

Thanx

Peter