public class OracleVersion extends Version
$PATCH --- The patch level, incremented
for a release containing security and high-priority customer fixes which
have been tested together.
$PATCH is reset to zero when
$MAJOR are incremented.
$PATCH is included in the short version string if it is not zero.
The version string is as defined in
Version with the
|Modifier and Type||Method and Description|
Returns the patch version number or zero if it was not set.
build, compareTo, current, equals, hashCode, major, minor, optional, pre, security, toString, version
public static OracleVersion parse(String s)
s- A string to interpret as an version
IllegalArgumentException- If the given string cannot be interpreted a valid version
NullPointerException- If the given string is
NumberFormatException- If an element of the version number or the build number cannot be represented as an
public int patch()
Copyright © 2005, 2015, Oracle and/or its affiliates. All rights reserved.