public class _jyio extends java.lang.Object implements ClassDictInit
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
__doc__ |
static java.lang.String |
__doc__open |
static PyInteger |
DEFAULT_BUFFER_SIZE
Default buffer size for export.
|
static PyType |
UnsupportedOperation
A Python class for the
UnsupportedOperation exception. |
| Constructor and Description |
|---|
_jyio() |
| Modifier and Type | Method and Description |
|---|---|
static void |
classDictInit(PyObject dict)
This method is called when the module is loaded, to populate the namespace (dictionary) of
the module.
|
static PyObject |
open(PyObject[] args,
java.lang.String[] kwds)
Open file and return a stream.
|
static PyException |
UnsupportedOperation(java.lang.String message)
A function that returns a
PyException, which is a Java exception suitable for
throwing, and that will be raised as an UnsupportedOperation Python exception. |
public static PyType UnsupportedOperation
UnsupportedOperation exception.public static final PyInteger DEFAULT_BUFFER_SIZE
public static final java.lang.String __doc__
public static final java.lang.String __doc__open
public static void classDictInit(PyObject dict)
dict - namespace of the modulepublic static PyException UnsupportedOperation(java.lang.String message)
PyException, which is a Java exception suitable for
throwing, and that will be raised as an UnsupportedOperation Python exception.message - text message parameter to the Python exceptionUnsupportedOperation Python exceptionpublic static PyObject open(PyObject[] args, java.lang.String[] kwds)
args - array of arguments from Python call via Jython frameworkkwds - array of keywords from Python call via Jython framework