com.sun.jaw.impl.common
Class Library

java.lang.Object
  |
  +--com.sun.jaw.impl.common.Library

public class Library
extends java.lang.Object

This class represents a native library.

Debugging for all native library loading code can also be enabled from this class.


Constructor Summary
Library()
           
 
Method Summary
 java.lang.String getClassVersion()
          Returns the version of this class.
static long readLibVersion(java.lang.String path)
          Returns the library version for the libraries contained under the library base path path supplied as an input argument.
static java.lang.String removeSpace(java.lang.String s)
          Removes any white space from a string.
static void writeLibVersion(java.lang.String path, long version)
          Sets the library version for the libraries contained under the library base path path supplied as an input argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Library

public Library()
Method Detail

readLibVersion

public static long readLibVersion(java.lang.String path)
Returns the library version for the libraries contained under the library base path path supplied as an input argument.

writeLibVersion

public static final void writeLibVersion(java.lang.String path,
                                         long version)
Sets the library version for the libraries contained under the library base path path supplied as an input argument.

removeSpace

public static java.lang.String removeSpace(java.lang.String s)
Removes any white space from a string. This is used to convert strings such as "Windows NT" to "WindowsNT".

getClassVersion

public java.lang.String getClassVersion()
Returns the version of this class.