public class JarLocation extends Object
| Constructor and Description |
|---|
JarLocation(Class<?> klass)
Constructs a new
JarLocation object which gets access to the code source with the provided parameter. |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getVersion()
Returns the version of the current jar holding the provided
klass. |
String |
toString() |
public JarLocation(Class<?> klass)
JarLocation object which gets access to the code source with the provided parameter.klass - the class to access the code source fromCopyright © 2011. All rights reserved.