org.python.core
Class CodeLoader
java.lang.Object
org.python.core.CodeLoader
public final class CodeLoader
- extends Object
GET_BOOTSTRAP_METHOD_NAME
public static final String GET_BOOTSTRAP_METHOD_NAME
- See Also:
- Constant Field Values
name
public final String name
filename
public final String filename
SIMPLE_FACTORY_METHOD_NAME
public static final String SIMPLE_FACTORY_METHOD_NAME
- See Also:
- Constant Field Values
canLoad
public static boolean canLoad(Class<?> cls)
loadCode
public static PyCode loadCode(Class<?> cls,
String name,
String filename)
throws SecurityException,
NoSuchMethodException,
IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
SecurityException
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
loadCode
public static PyCode loadCode(Class<?> cls)
throws SecurityException,
IllegalArgumentException,
NoSuchMethodException,
IllegalAccessException,
InvocationTargetException
- Throws:
SecurityException
IllegalArgumentException
NoSuchMethodException
IllegalAccessException
InvocationTargetException
loadCode
public static PyCode loadCode(CodeBootstrap bootstrap,
String name,
String filename)
loadCode
public static PyCode loadCode(CodeBootstrap bootstrap)
createSimpleBootstrap
public static CodeBootstrap createSimpleBootstrap(PyCode code)
Jython homepage