|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.svincent.smalljava.SmallJavaUtil
Various utility methods used by (and to help use) Smalljava.
| Method Summary | |
static java.lang.String |
getBytecodeClassname(java.lang.String javaClassname)
Process the given classname, replacing '.' characters with '/' characters. |
static java.lang.String |
getImplementationVersion()
Get the implementation version of the current Smalljava package. |
static java.lang.String |
getSpecificationVersion()
Get the specification version of the current Smalljava package. |
static boolean |
isCompatibleWith(java.lang.String specVersion)
Returns 'true' if the current Smalljava library being used is compatible with the given version. |
static void |
main(java.lang.String[] args)
|
static void |
printBanner(java.io.PrintWriter out)
Prints an informative banner about Smalljava. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public static boolean isCompatibleWith(java.lang.String specVersion)
For example,
if (SmallJavaUtil.isCompatibleWith ("2.0"))
// --- do some 2.0 specific things
public static java.lang.String getSpecificationVersion()
public static java.lang.String getImplementationVersion()
public static void printBanner(java.io.PrintWriter out)
public static java.lang.String getBytecodeClassname(java.lang.String javaClassname)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/
Copyright © 1999 Shawn P. Vincent.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.