public class Versions extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getVersion(String path,
Class<?> klass)
Attempts to get a version property from a specified resource
|
public static String getVersion(String path, Class<?> klass)
path - the path of the properties file resourceklass - the Class whose classloader will be used to load the resourceCopyright © 2015. All rights reserved.