Package com.coyotegulch.jisp
Class Jisp
- java.lang.Object
-
- com.coyotegulch.jisp.Jisp
-
public class Jisp extends java.lang.Object
Defines common, global objects for the entire Jisp package.
-
-
Constructor Summary
Constructors Constructor Description Jisp()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.ClassLoader
getClassLoader()
Get the current class loader.static void
main(java.lang.String[] args)
The main function, run from the jisp JAR file to display version number and license.static void
setClassLoader(java.lang.ClassLoader loader)
Set an external class loader for use by the Jisp object input and output streams.
-
-
-
Field Detail
-
VERSION
public static final java.lang.String VERSION
Version number string.- See Also:
- Constant Field Values
-
LICENSE
public static final java.lang.String LICENSE
"Scott's Very Free License", the license governing the distribution and use of Jisp.- See Also:
- Constant Field Values
-
-
Method Detail
-
setClassLoader
public static void setClassLoader(java.lang.ClassLoader loader)
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
public static java.lang.ClassLoader 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
public static void main(java.lang.String[] args)
The main function, run from the jisp JAR file to display version number and license.- Parameters:
args
- Program arguments (ignored)
-
-