org.apache.subversion.javahl.types
Class RuntimeVersion

java.lang.Object
  extended by org.apache.subversion.javahl.types.Version
      extended by 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.


Constructor Summary
RuntimeVersion()
           
 
Method Summary
 int getMajor()
           
 int getMinor()
           
 int getPatch()
           
 String toString()
           
 
Methods inherited from class org.apache.subversion.javahl.types.Version
isAtLeast
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuntimeVersion

public RuntimeVersion()
Method Detail

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.