nl.knowledgeplaza.util
Class VersionUtil
java.lang.Object
nl.knowledgeplaza.util.VersionUtil
public class VersionUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCECODE_VERSION
public static final String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
VersionUtil
public VersionUtil()
checkVersionEqualOrGreater
public static void checkVersionEqualOrGreater(String libraryName,
String libraryVersion,
Class clazz,
String requiredVersion)
- Check if a available version is >= to the required version.
If not, throw an IllegalStateException.
- Parameters:
libraryName - libraryVersion - requiredVersion - clazz -
checkVersionEqualOrGreater
public static void checkVersionEqualOrGreater(String libraryName,
String libraryVersion,
Object thiz,
String requiredVersion)
- Convenience method
- Parameters:
libraryName - libraryVersion - requiredVersion - thiz -
Copyright © 2011 KnowledgePlaza. All Rights Reserved.