Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Way to convert paths to OS Specific format?
Way to convert paths to OS Specific format? [message #595435] Mon, 29 September 2003 17:04
Eclipse User
Originally posted by: mharp.seapine.com

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
Previous Topic:eclipse compatability
Next Topic:Way to convert paths to OS Specific format?
Goto Forum:
  


Current Time: Mon Sep 01 14:36:40 EDT 2014

Powered by FUDForum. Page generated in 0.12195 seconds