public class JavaVersion extends Object
| Constructor and Description |
|---|
JavaVersion()
Empty version check will accept no versions.
|
JavaVersion(String spec)
The version check is specified by the string specification.
|
public JavaVersion()
public JavaVersion(String spec) throws ParseException
spec - - the version string specification.ParseExceptionpublic boolean matches(String version) throws ParseException
version - ParseExceptionPhantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.