| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| private static final int | _DEFAULT_BUFFER_SIZE
Default buffer size obtained from |
| public static final PyInteger | DEFAULT_BUFFER_SIZE
Default buffer size for export. |
| private static final String[] | |
| public static PyType | UnsupportedOperation
A Python class for the |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | classDictInit(PyObject
namespace of the module dict)This method is called when the module is loaded, to populate the namespace (dictionary) of the module. |
| private static PyType | Returns: the constructed exception typemodule dictionary dict, String name of the exception excname, PyObject... one or more bases (superclasses) bases)Convenience method for constructing a type object of a Python exception, named as given, and added to the namespace of the "_io" module. |
| public static PyObject | |
| public static PyException | Returns: nascentUnsupportedOperation Python exceptiontext message parameter to the Python exception message)A function that returns a |
| __doc__ | back to summary |
|---|---|
| public static final String __doc__ | |
| __doc__open | back to summary |
|---|---|
| public static final String __doc__open | |
| _DEFAULT_BUFFER_SIZE | back to summary |
|---|---|
| private static final int _DEFAULT_BUFFER_SIZE Default buffer size obtained from | |
| DEFAULT_BUFFER_SIZE | back to summary |
|---|---|
| public static final PyInteger DEFAULT_BUFFER_SIZE Default buffer size for export. | |
| openKwds | back to summary |
|---|---|
| private static final String[] openKwds | |
| UnsupportedOperation | back to summary |
|---|---|
| public static PyType UnsupportedOperation A Python class for the | |
| _jyio | back to summary |
|---|---|
| public _jyio() | |
| classDictInit | back to summary |
|---|---|
| public static void classDictInit(PyObject dict) This method is called when the module is loaded, to populate the namespace (dictionary) of the module. The dictionary has been initialised at this point reflectively from the methods of this class and this method nulls those entries that ought not to be exposed.
| |
| makeException | back to summary |
|---|---|
| private static PyType makeException(PyObject dict, String excname, PyObject... bases) Convenience method for constructing a type object of a Python exception, named as given, and added to the namespace of the "_io" module. | |
| open | back to summary |
|---|---|
| public static PyObject open(PyObject[] args, String[] kwds) Open file and return a stream. Raise IOError upon failure. This is a port to Java of the CPython _io.open (Modules/_io/_iomodule.c) following the same logic, but expressed with the benefits of Java syntax. | |
| UnsupportedOperation | back to summary |
|---|---|
| public static PyException UnsupportedOperation(String message) A function that returns a
| |