Package io.dropwizard.util
Class JarLocation
java.lang.Object
io.dropwizard.util.JarLocation
A class which encapsulates the location on the local filesystem of the JAR in which the current
code is executing.
-
Constructor Summary
ConstructorsConstructorDescriptionJarLocation(Class<?> klass) Constructs a newJarLocationobject which gets access to the code source with the provided parameter. -
Method Summary
Modifier and TypeMethodDescriptionReturns the version of the current jar holding the providedklass.toString()
-
Constructor Details
-
JarLocation
Constructs a newJarLocationobject which gets access to the code source with the provided parameter.- Parameters:
klass- the class to access the code source from
-
-
Method Details