Package com.coyotegulch.jisp
Class Jisp
java.lang.Object
com.coyotegulch.jisp.Jisp
Defines common, global objects for the entire Jisp package.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassLoader
Get the current class loader.static void
The main function, run from the jisp JAR file to display version number and license.static void
setClassLoader
(ClassLoader loader) Set an external class loader for use by the Jisp object input and output streams.
-
Field Details
-
VERSION
Version number string.- See Also:
-
LICENSE
"Scott's Very Free License", the license governing the distribution and use of Jisp.- See Also:
-
-
Constructor Details
-
Jisp
public Jisp()
-
-
Method Details
-
setClassLoader
Set an external class loader for use by the Jisp object input and output streams.- Parameters:
loader
- a class loader, ornull
to revert to the default.
-
getClassLoader
Get the current class loader. If aClassLoader
has not been set via thesetClassLoader
, or theClassLoader
is set tonull
, this function returns the the ClassLoader for the current thread context.- Returns:
- The current class loader, or the thread context class loader.
-
main
The main function, run from the jisp JAR file to display version number and license.- Parameters:
args
- Program arguments (ignored)
-