Class VersionExtended
java.lang.Object
org.apache.subversion.javahl.types.VersionExtended
public class VersionExtended extends Object
Encapsulates information about the compile-time and run-time
properties of the Subversion libraries.
- Since:
- 1.8
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
VersionExtended.LinkedLib
Dependent library information.class
VersionExtended.LoadedLib
Loaded shared library information. -
Constructor Summary
Constructors Constructor Description VersionExtended()
-
Method Summary
Modifier and Type Method Description void
dispose()
Release the native peer.void
finalize()
release the native peer (should use dispose instead)String
getBuildDate()
String
getBuildHost()
String
getBuildTime()
String
getCopyright()
Iterator<VersionExtended.LinkedLib>
getLinkedLibs()
Iterator<VersionExtended.LoadedLib>
getLoadedLibs()
String
getRuntimeHost()
String
getRuntimeOSName()
-
Constructor Details
-
VersionExtended
public VersionExtended()
-
-
Method Details
-
dispose
public void dispose()Release the native peer. This method must be called to release the native resources held by this object.Once this method is called, all object references obtained from the iterators returned by
getLinkedLibs()
andgetLoadedLibs()
become invalid and should no longer be used. -
finalize
public void finalize()release the native peer (should use dispose instead) -
getBuildDate
- Returns:
- The date when the libsvn_subr library was compiled, in the format defined by the C standard macro #__DATE__.
-
getBuildTime
- Returns:
- The time when the libsvn_subr library was compiled, in the format defined by the C standard macro #__TIME__.
-
getBuildHost
- Returns:
- The canonical host triplet (arch-vendor-osname) of the
system where libsvn_subr was compiled.
Note: On Unix-like systems (includng Mac OS X), this string is the same as the output of the config.guess script for the underlying Subversion libraries.
-
getCopyright
- Returns:
- The localized copyright notice.
-
getRuntimeHost
- Returns:
- The canonical host triplet (arch-vendor-osname) of the
system where the current process is running.
Note: This string may not be the same as the output of config.guess on the same system.
-
getRuntimeOSName
- Returns:
- The "commercial" release name of the running operating system, if available. Not to be confused with, e.g., the output of "uname -v" or "uname -r". The returned value may be #null.
-
getLinkedLibs
- Returns:
- Iterator for an immutable internal list of #LinkedLib describing dependent libraries. The list may be empty.
-
getLoadedLibs
- Returns:
- Iterator for an immutable internal list of #LoadedLib
describing loaded shared libraries. The the list may be empty.
Note: On Mac OS X, the loaded frameworks, private frameworks and system libraries will not be listed.
-