Home | History | Annotate | Download | only in utils

Lines Matching refs:Path

5 import java.nio.file.Path;
58 * Calculates the path to a file in a package.
64 public static Path fileInPackageAbsolutePath(String root, String pkg, String file) {
69 public static Path fileInPackageAbsolutePath(Path root, String pkg, String file) {
74 * Turns a package and a file into a relative path. "com.laamella" and "Simple.java" will become
77 public static Path fileInPackageRelativePath(String pkg, String file) {
83 * Converts a package name like "com.laamella.parser" to a path like "com/laamella/parser"
90 * Calculates the path of a package.
95 public static Path packageAbsolutePath(String root, String pkg) {
100 public static Path packageAbsolutePath(Path root, String pkg) {
107 public static Path classLoaderRoot(Class<?> c) {
119 public static Path mavenModuleRoot(Class<?> c) {
124 * Shortens path "full" by cutting "difference" off the end of it.
126 public static Path subtractPaths(Path full, Path difference) {