public class _io extends Object implements ClassDictInit
Modifier and Type | Field and Description |
---|---|
static String |
__doc__ |
static 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 |
---|
_io() |
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,
String[] kwds)
Open file and return a stream.
|
static PyException |
UnsupportedOperation(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 String __doc__
public static final String __doc__open
public static void classDictInit(PyObject dict)
dict
- namespace of the modulepublic static PyException UnsupportedOperation(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, String[] kwds)
args
- array of arguments from Python call via Jython frameworkkwds
- array of keywords from Python call via Jython framework