org.python.modules
Class _codecs
java.lang.Object
org.python.modules._codecs
public class _codecs
- extends Object
Method Summary |
static PyTuple |
ascii_decode(String str)
|
static PyTuple |
ascii_decode(String str,
String errors)
|
static PyTuple |
ascii_encode(String str)
|
static PyTuple |
ascii_encode(String str,
String errors)
|
static PyObject |
charmap_build(PyUnicode map)
|
static PyTuple |
charmap_decode(String str,
String errors,
PyObject mapping)
|
static PyTuple |
charmap_decode(String str,
String errors,
PyObject mapping,
boolean ignoreUnmapped)
|
static PyTuple |
charmap_encode(String str,
String errors,
PyObject mapping)
|
static String |
encode_UTF16(String str,
String errors,
int byteorder)
|
static PyTuple |
escape_decode(String str)
|
static PyTuple |
escape_decode(String str,
String errors)
|
static PyTuple |
escape_encode(String str)
|
static PyTuple |
escape_encode(String str,
String errors)
|
static PyTuple |
latin_1_decode(String str)
|
static PyTuple |
latin_1_decode(String str,
String errors)
|
static PyTuple |
latin_1_encode(String str)
|
static PyTuple |
latin_1_encode(String str,
String errors)
|
static PyObject |
lookup_error(String handlerName)
|
static PyTuple |
lookup(String encoding)
|
static PyTuple |
raw_unicode_escape_decode(String str)
|
static PyTuple |
raw_unicode_escape_decode(String str,
String errors)
|
static PyTuple |
raw_unicode_escape_encode(String str)
|
static PyTuple |
raw_unicode_escape_encode(String str,
String errors)
|
static void |
register_error(String name,
PyObject errorHandler)
|
static void |
register(PyObject search_function)
|
static PyObject |
translateCharmap(PyUnicode str,
String errors,
PyObject mapping)
|
static PyTuple |
unicode_escape_decode(String str)
|
static PyTuple |
unicode_escape_decode(String str,
String errors)
|
static PyTuple |
unicode_escape_encode(String str)
|
static PyTuple |
unicode_escape_encode(String str,
String errors)
|
static PyTuple |
unicode_internal_decode(String str)
|
static PyTuple |
unicode_internal_decode(String str,
String errors)
|
static PyTuple |
unicode_internal_encode(String str)
|
static PyTuple |
unicode_internal_encode(String str,
String errors)
|
static PyTuple |
utf_16_be_decode(String str)
|
static PyTuple |
utf_16_be_decode(String str,
String errors)
|
static PyTuple |
utf_16_be_decode(String str,
String errors,
boolean final_)
|
static PyTuple |
utf_16_be_encode(String str)
|
static PyTuple |
utf_16_be_encode(String str,
String errors)
|
static PyTuple |
utf_16_decode(String str)
|
static PyTuple |
utf_16_decode(String str,
String errors)
|
static PyTuple |
utf_16_decode(String str,
String errors,
boolean final_)
|
static PyTuple |
utf_16_encode(String str)
|
static PyTuple |
utf_16_encode(String str,
String errors)
|
static PyTuple |
utf_16_encode(String str,
String errors,
int byteorder)
|
static PyTuple |
utf_16_ex_decode(String str)
|
static PyTuple |
utf_16_ex_decode(String str,
String errors)
|
static PyTuple |
utf_16_ex_decode(String str,
String errors,
int byteorder)
|
static PyTuple |
utf_16_ex_decode(String str,
String errors,
int byteorder,
boolean final_)
|
static PyTuple |
utf_16_le_decode(String str)
|
static PyTuple |
utf_16_le_decode(String str,
String errors)
|
static PyTuple |
utf_16_le_decode(String str,
String errors,
boolean final_)
|
static PyTuple |
utf_16_le_encode(String str)
|
static PyTuple |
utf_16_le_encode(String str,
String errors)
|
static PyTuple |
utf_7_decode(String str)
|
static PyTuple |
utf_7_decode(String str,
String errors)
|
static PyTuple |
utf_7_encode(String str)
|
static PyTuple |
utf_7_encode(String str,
String errors)
|
static PyTuple |
utf_8_decode(String str)
|
static PyTuple |
utf_8_decode(String str,
String errors)
|
static PyTuple |
utf_8_decode(String str,
String errors,
boolean final_)
|
static PyTuple |
utf_8_encode(String str)
|
static PyTuple |
utf_8_encode(String str,
String errors)
|
_codecs
public _codecs()
register
public static void register(PyObject search_function)
lookup
public static PyTuple lookup(String encoding)
lookup_error
public static PyObject lookup_error(String handlerName)
register_error
public static void register_error(String name,
PyObject errorHandler)
charmap_build
public static PyObject charmap_build(PyUnicode map)
utf_8_decode
public static PyTuple utf_8_decode(String str)
utf_8_decode
public static PyTuple utf_8_decode(String str,
String errors)
utf_8_decode
public static PyTuple utf_8_decode(String str,
String errors,
boolean final_)
utf_8_encode
public static PyTuple utf_8_encode(String str)
utf_8_encode
public static PyTuple utf_8_encode(String str,
String errors)
utf_7_decode
public static PyTuple utf_7_decode(String str)
utf_7_decode
public static PyTuple utf_7_decode(String str,
String errors)
utf_7_encode
public static PyTuple utf_7_encode(String str)
utf_7_encode
public static PyTuple utf_7_encode(String str,
String errors)
escape_decode
public static PyTuple escape_decode(String str)
escape_decode
public static PyTuple escape_decode(String str,
String errors)
escape_encode
public static PyTuple escape_encode(String str)
escape_encode
public static PyTuple escape_encode(String str,
String errors)
charmap_decode
public static PyTuple charmap_decode(String str,
String errors,
PyObject mapping)
charmap_decode
public static PyTuple charmap_decode(String str,
String errors,
PyObject mapping,
boolean ignoreUnmapped)
translateCharmap
public static PyObject translateCharmap(PyUnicode str,
String errors,
PyObject mapping)
charmap_encode
public static PyTuple charmap_encode(String str,
String errors,
PyObject mapping)
ascii_decode
public static PyTuple ascii_decode(String str)
ascii_decode
public static PyTuple ascii_decode(String str,
String errors)
ascii_encode
public static PyTuple ascii_encode(String str)
ascii_encode
public static PyTuple ascii_encode(String str,
String errors)
latin_1_decode
public static PyTuple latin_1_decode(String str)
latin_1_decode
public static PyTuple latin_1_decode(String str,
String errors)
latin_1_encode
public static PyTuple latin_1_encode(String str)
latin_1_encode
public static PyTuple latin_1_encode(String str,
String errors)
utf_16_encode
public static PyTuple utf_16_encode(String str)
utf_16_encode
public static PyTuple utf_16_encode(String str,
String errors)
utf_16_encode
public static PyTuple utf_16_encode(String str,
String errors,
int byteorder)
utf_16_le_encode
public static PyTuple utf_16_le_encode(String str)
utf_16_le_encode
public static PyTuple utf_16_le_encode(String str,
String errors)
utf_16_be_encode
public static PyTuple utf_16_be_encode(String str)
utf_16_be_encode
public static PyTuple utf_16_be_encode(String str,
String errors)
encode_UTF16
public static String encode_UTF16(String str,
String errors,
int byteorder)
utf_16_decode
public static PyTuple utf_16_decode(String str)
utf_16_decode
public static PyTuple utf_16_decode(String str,
String errors)
utf_16_decode
public static PyTuple utf_16_decode(String str,
String errors,
boolean final_)
utf_16_le_decode
public static PyTuple utf_16_le_decode(String str)
utf_16_le_decode
public static PyTuple utf_16_le_decode(String str,
String errors)
utf_16_le_decode
public static PyTuple utf_16_le_decode(String str,
String errors,
boolean final_)
utf_16_be_decode
public static PyTuple utf_16_be_decode(String str)
utf_16_be_decode
public static PyTuple utf_16_be_decode(String str,
String errors)
utf_16_be_decode
public static PyTuple utf_16_be_decode(String str,
String errors,
boolean final_)
utf_16_ex_decode
public static PyTuple utf_16_ex_decode(String str)
utf_16_ex_decode
public static PyTuple utf_16_ex_decode(String str,
String errors)
utf_16_ex_decode
public static PyTuple utf_16_ex_decode(String str,
String errors,
int byteorder)
utf_16_ex_decode
public static PyTuple utf_16_ex_decode(String str,
String errors,
int byteorder,
boolean final_)
raw_unicode_escape_encode
public static PyTuple raw_unicode_escape_encode(String str)
raw_unicode_escape_encode
public static PyTuple raw_unicode_escape_encode(String str,
String errors)
raw_unicode_escape_decode
public static PyTuple raw_unicode_escape_decode(String str)
raw_unicode_escape_decode
public static PyTuple raw_unicode_escape_decode(String str,
String errors)
unicode_escape_encode
public static PyTuple unicode_escape_encode(String str)
unicode_escape_encode
public static PyTuple unicode_escape_encode(String str,
String errors)
unicode_escape_decode
public static PyTuple unicode_escape_decode(String str)
unicode_escape_decode
public static PyTuple unicode_escape_decode(String str,
String errors)
unicode_internal_encode
public static PyTuple unicode_internal_encode(String str)
unicode_internal_encode
public static PyTuple unicode_internal_encode(String str,
String errors)
unicode_internal_decode
public static PyTuple unicode_internal_decode(String str)
unicode_internal_decode
public static PyTuple unicode_internal_decode(String str,
String errors)
Jython homepage