Package org.tigris.subversion.javahl
Class Version
java.lang.Object
org.tigris.subversion.javahl.Version
- Direct Known Subclasses:
SVNClientImplVersion
Encapsulates version information about the underlying native
libraries. Basically a wrapper for
svn_version.h
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
aVersion
-
-
Constructor Details
-
Version
public Version() -
Version
-
-
Method Details
-
toString
-
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
-
isAtLeast
public boolean isAtLeast(int major, int minor, int patch) - Returns:
- Whether the JavaHL native library version is at least
of
major.minor.patch
level. - Since:
- 1.5.0
-