private Path nestedResource(final com.yahoo.path.Path nestedPath, final String name, final String fileType) { String nameWithoutSuffix = StringUtilities.stripSuffix(name, fileType); return path.resolve(nestedPath.getRelative()).resolve(nameWithoutSuffix + fileType); }
private Path nestedResource(com.yahoo.path.Path nestedPath, String name, String fileType) { ensureNotAlreadyBuild(); String nameWithoutSuffix = StringUtilities.stripSuffix(name, fileType); return applicationDir.resolve(nestedPath.getRelative()).resolve(nameWithoutSuffix + fileType); }