public class PyModule extends PyObject
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createProxy(Class<T> type)
Create a Java proxy instance of this Python module which contains compatible functions to the ones provided in the
interface given by the
type parameter. |
String |
getName() |
static PyModule |
importModule(String name)
Import a Python module into the Python interpreter and return its Java representation.
|
call, callMethod, createProxy, equals, finalize, getAttribute, getAttribute, getDoubleValue, getIntValue, getObjectArrayValue, getObjectValue, getPointer, getStringValue, hashCode, setAttribute, setAttribute, toStringpublic String getName()
public static PyModule importModule(String name)
name - The Python module's name.public <T> T createProxy(Class<T> type)
type parameter.createProxy in class PyObjectT - The interface name.type - The interface's type.Copyright © 2014 Brockmann Consult GmbH. All rights reserved.