org.apache.subversion.javahl.types
Class RuntimeVersion
java.lang.Object
org.apache.subversion.javahl.types.Version
org.apache.subversion.javahl.types.RuntimeVersion
public class RuntimeVersion
- extends Version
Encapsulates the run-time version of the
libsvn_clinent
library that was loaded by the current
process. The result may be different from that provided by Version
, because the latter returns compile-time, not run-time
information.
Methods inherited from class org.apache.subversion.javahl.types.Version |
isAtLeast |
RuntimeVersion
public RuntimeVersion()
toString
public String toString()
- Overrides:
toString
in class Version
- Returns:
- The full version string for the loaded library,
as defined by
MAJOR.MINOR.PATCH-NUMTAG
.
getMajor
public int getMajor()
- Overrides:
getMajor
in class Version
- Returns:
- The major version number for the loaded JavaHL library.
getMinor
public int getMinor()
- Overrides:
getMinor
in class Version
- Returns:
- The minor version number for the loaded JavaHL library.
getPatch
public int getPatch()
- Overrides:
getPatch
in class Version
- Returns:
- The patch-level version number for the loaded JavaHL
library.