|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.VersionUtils
public class VersionUtils
Utility methods related to managing framework version numbers.
Constructor Summary | |
---|---|
VersionUtils()
|
Method Summary | |
---|---|
static java.lang.String |
readVersionNumber(java.lang.String resourcePath)
Reads a version number from a properties file on the classpath. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionUtils()
Method Detail |
---|
public static java.lang.String readVersionNumber(java.lang.String resourcePath)
META-INF/gradle/org.apache.tapestry/tapestry-core/pom.properties
.
The Gradle generated properties files include the version and possibly others properties.
The resource is located using the Thread's context class loader.
resourcePath
- the complete path to the resource, including a leading slash.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |