|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.unex.sextante.gui.help.FileUtilities
public class FileUtilities
Constructor Summary | |
---|---|
FileUtilities()
|
Method Summary | |
---|---|
static java.lang.String |
getRelativePath(java.io.File home,
java.io.File f)
get relative path of File 'f' with respect to 'home' directory example : home = /a/b/c f = /a/d/e/x.txt s = getRelativePath(home,f) = ../.. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUtilities()
Method Detail |
---|
public static java.lang.String getRelativePath(java.io.File home, java.io.File f)
home
- base path, should be a directory, not a file, or it doesn't
make sensef
- file to generate path for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |