org.tigris.subversion.javahl

Class Version


public class Version
extends java.lang.Object

Encapsulates version information about the underlying native libraries. Basically a wrapper for svn_version.h.

Method Summary

int
getMajor()
int
getMinor()
int
getPatch()
String
toString()

Method Details

getMajor

public int getMajor()
Returns:
The major version number for the loaded JavaHL library.
Since:
1.4.0

getMinor

public int getMinor()
Returns:
The minor version number for the loaded JavaHL library.
Since:
1.4.0

getPatch

public int getPatch()
Returns:
The patch-level version number for the loaded JavaHL library.
Since:
1.4.0

toString

public String toString()
Returns:
The full version string for the loaded JavaHL library, as defined by MAJOR.MINOR.PATCH INFO.
Since:
1.4.0