-
public class PathMaster
By default, jarClass is PathMaster::class, which means this code will only work if the resources are in the same jar as Javalin (i.e. in a fat-jar/uber-jar). You can change resourcesJarClass to whatever class suits your needs.
-
-
Field Summary
Fields Modifier and Type Field Description public final static PathMaster
INSTANCE
-
Method Summary
Modifier and Type Method Description final Path
classpathPath(String path)
final Path
defaultLocation(Boolean isDev)
-
-
Method Detail
-
classpathPath
final Path classpathPath(String path)
-
defaultLocation
final Path defaultLocation(Boolean isDev)
-
-
-
-