[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology] Way to convert paths to OS Specific format?

Hey all,

I've got the string "c:\fred\class1.java"

Is there some kind of static method or any other way to ask Eclipse to give
me back the path for the current platform that I'm on?

For example, on Windows it would give me back "c:\fred\class1.java" and
Linux would give me back "c:/fred/class1.java".

Thanks for any help you can provide,

harpstein