|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sisc.util.Util sisc.ser.LibraryManager
public class LibraryManager
Field Summary | |
---|---|
protected java.util.Map |
loadedLibraries
|
Fields inherited from class sisc.util.Util |
---|
BACKQUOTE, BEGIN, bundles, caseSensitive, EMPTYLIST, EMPTYVEC, EOF, ERRORK, EVAL, EXPSC, EXPTOP, FALSE, FCONT, FIVE, JEXCEPTION, LAMBDA, LOCATION, maxFloatPrecision, MESSAGE, minFloatPrecision, NAME, OTHER, PARENT, permitInterrupts, QUOTE, QUOTESYM, REPORT, SETBANG, SISC, SISC_SPECIFIC, SISCB, SOURCE_COLUMN, SOURCE_FILE, SOURCE_LINE, SYMENV, THIS, TOPLEVEL, TRUE, UNQUOTE, UNQUOTE_SPLICING, VOID, ZV |
Fields inherited from interface sisc.util.Version |
---|
VERSION |
Constructor Summary | |
---|---|
LibraryManager(AppContext ctx)
|
Method Summary | |
---|---|
void |
addLibrary(Library l)
|
void |
addLibrary(java.lang.String name,
java.net.URL l)
|
Expression |
getExpression(Symbol name)
|
boolean |
loadLibrary(java.lang.String name)
|
LibraryBinding |
lookupBinding(Expression e)
Returns the reference to a binding in the active libraries, or null if the provided expression isn't an entry point in any library. |
Expression |
resolveBinding(LibraryBinding lb)
Returns an expression from an external library |
Methods inherited from class sisc.util.Util |
---|
annotated, annotatedAppEval, append, argCheck, argsToSymbols, assq, bininport, bininstream, binoutport, binoutstream, box, character, charinport, charinreader, charoutport, charoutwriter, charsetFromString, chr, cont, currentClassLoader, env, error, error, error, error, error, error, error, expr, getDefaultCharacterSet, immutablePair, immutableVector, inport, javaExceptionToString, javaWrap, justify, length, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, liMessage, list, list, list, list, list, makeURL, mapcar, memq, nlib, num, outport, pair, pairToExpressions, pairToExpVect, pairToValues, proc, read, registerBundle, reverse, reverseInPlace, simpleErrorToString, sourceAnnotations, str, string, sym, symbol, symval, truePair, truth, truth, typeError, typeError, updateName, url, url, url, valArrayToList, valArrayToList, valArrayToVec, vec, warn, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map loadedLibraries
Constructor Detail |
---|
public LibraryManager(AppContext ctx)
Method Detail |
---|
public Expression getExpression(Symbol name) throws java.io.IOException
java.io.IOException
public LibraryBinding lookupBinding(Expression e) throws java.io.IOException
java.io.IOException
public void addLibrary(Library l)
public void addLibrary(java.lang.String name, java.net.URL l)
public boolean loadLibrary(java.lang.String name)
public Expression resolveBinding(LibraryBinding lb) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |