public static String getRelativePath(File file, File relativeTo) throws IOException {
/*
* windows seems in some cases not to stop getParent() at 'c:\', which I
...
Java get path of a File relative...
I call:
File f = new File(...
public static String getRelativePath(File file, File relativeTo) throws IOException {
/*
* windows seems in some cases not to stop getParent() at 'c:\', which I
...
I call:
File f = new File(...
Discussed on: http://stacko...