com.coyotegulch.jisp

Class Jisp

public class Jisp extends Object

Defines common, global objects for the entire Jisp package.
Field Summary
static StringLICENSE
"Scott's Very Free License", the license governing the distribution and use of Jisp.
static StringVERSION
Version number string.
Method Summary
static ClassLoadergetClassLoader()
Get the current class loader.
static voidmain(String[] args)
The main function, run from the jisp JAR file to display version number and license.
static voidsetClassLoader(ClassLoader loader)
Set an external class loader for use by the Jisp object input and output streams.

Field Detail

LICENSE

public static final String LICENSE
"Scott's Very Free License", the license governing the distribution and use of Jisp.

VERSION

public static final String VERSION
Version number string.

Method Detail

getClassLoader

public static ClassLoader getClassLoader()
Get the current class loader. If a ClassLoader has not been set via the setClassLoader, or the ClassLoader is set to null, this function returns the the ClassLoader for the current thread context.

Returns: The current class loader, or the thread context class loader.

main

public static void main(String[] args)
The main function, run from the jisp JAR file to display version number and license.

Parameters: args Program arguments (ignored)

setClassLoader

public static void setClassLoader(ClassLoader loader)
Set an external class loader for use by the Jisp object input and output streams.

Parameters: loader a class loader, or null to revert to the default.