org.apache.subversion.javahl.types
Class VersionExtended

java.lang.Object
  extended by 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
 class VersionExtended.LinkedLib
          Dependent library information.
 class VersionExtended.LoadedLib
          Loaded shared library information.
 
Constructor Summary
VersionExtended()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionExtended

public VersionExtended()
Method Detail

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() and getLoadedLibs() become invalid and should no longer be used.


finalize

public void finalize()
release the native peer (should use dispose instead)

Overrides:
finalize in class Object

getBuildDate

public String getBuildDate()
Returns:
The date when the libsvn_subr library was compiled, in the format defined by the C standard macro #__DATE__.

getBuildTime

public String getBuildTime()
Returns:
The time when the libsvn_subr library was compiled, in the format defined by the C standard macro #__TIME__.

getBuildHost

public String 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

public String getCopyright()
Returns:
The localized copyright notice.

getRuntimeHost

public String 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

public String 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

public Iterator<VersionExtended.LinkedLib> getLinkedLibs()
Returns:
Iterator for an immutable internal list of #LinkedLib describing dependent libraries. The list may be empty.

getLoadedLibs

public Iterator<VersionExtended.LoadedLib> 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.