org.python.core

Class PyUnicode

public class PyUnicode extends PyString

a builtin python unicode string.
Field Summary
static Classexposed_base
static Stringexposed_name
Constructor Summary
PyUnicode()
PyUnicode(String string)
PyUnicode(PyType subtype, String string)
PyUnicode(PyString pystring)
PyUnicode(PyType subtype, PyString pystring)
PyUnicode(char c)
Method Summary
static voidclassDictInit(PyObject dict)
Internal use only.
PyStringcreateInstance(String str)
StringsafeRepr()
static voidtypeSetup(PyObject dict, PyType.Newstyle marker)
Stringunicode_toString()
PyStringunicode___str__()
PyString__repr__()

Field Detail

exposed_base

public static final Class exposed_base

exposed_name

public static final String exposed_name

Constructor Detail

PyUnicode

public PyUnicode()

PyUnicode

public PyUnicode(String string)

PyUnicode

public PyUnicode(PyType subtype, String string)

PyUnicode

public PyUnicode(PyString pystring)

PyUnicode

public PyUnicode(PyType subtype, PyString pystring)

PyUnicode

public PyUnicode(char c)

Method Detail

classDictInit

public static void classDictInit(PyObject dict)
Internal use only. Do not call this method explicitly.

createInstance

public PyString createInstance(String str)

safeRepr

public String safeRepr()

typeSetup

public static void typeSetup(PyObject dict, PyType.Newstyle marker)

unicode_toString

public String unicode_toString()

unicode___str__

public PyString unicode___str__()

__repr__

public PyString __repr__()