public class MyFile
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPathFromRootForSubPath(java.io.File file,
java.io.File relativeRoot)
Gets the path name for file, relative to the given relativeRoot, assuming that file points to some subfolder of relativeRoot
|
public static java.lang.String getPathFromRootForSubPath(java.io.File file, java.io.File relativeRoot)
file
- A file, the path of which relative to one of its parent folders is to be returnedrelativeRoot
- A parent folder of file