|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.persister.xstream.RelativePath
public class RelativePath
This class converts an Absolute Path into a Relative Path. Used to ensure we only persist relative paths.
| Method Summary | |
|---|---|
static List |
getPathElements(File file)
Get a list of the files individual path elements. |
static String |
getRelativePath(File homeDirectory,
File fileToMakeRelative)
get relative path of fileToMakeRelative with respect to the homeDirectory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getRelativePath(File homeDirectory,
File fileToMakeRelative)
homeDirectory - base directoryfileToMakeRelative - File we are generating the relative path
public static List getPathElements(File file)
file - input file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||