/** * Resolve a path with respect to this name and return an absolute path. * * @param path the path * @return the corresponding absolute path */ public Path.Absolute resolve(Path path) { if (path instanceof Path.Absolute) { return (Path.Absolute)path; } else { return Path.absolute(append(path.getName()), path.getExt()); } }
/** * Resolve a path with respect to this name and return an absolute path. * * @param path the path * @return the corresponding absolute path */ public Path.Absolute resolve(Path path) { if (path instanceof Path.Absolute) { return (Path.Absolute)path; } else { return Path.absolute(append(path.getName()), path.getExt()); } }
String suffix; if (path.getExt() == null) { from = sourcePath.getPath(root, path.getName()); if (from == null) { from = sourcePath.getPath(root, path.getDirs());
String suffix; if (path.getExt() == null) { from = sourcePath.getPath(root, path.getName()); if (from == null) { from = sourcePath.getPath(root, path.getDirs());