String () { if (myTargetDirectory != null) { return ""; } String pathFromRoot = myParentDirectory.getRelativePathFromRoot(); if (pathFromRoot.isEmpty()) { return myRelativePath; } return myRelativePath + "/" + pathFromRoot; }