|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.python.core.PyObject
org.python.core.PySequence
org.python.core.PyBaseString
org.python.core.PyString
org.python.core.PyUnicode
public class PyUnicode
a builtin python unicode string.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.python.core.PyObject |
|---|
PyObject.ConversionException |
| Field Summary | |
|---|---|
static java.lang.Class |
exposed_base
|
static java.lang.String |
exposed_name
|
| Constructor Summary | |
|---|---|
PyUnicode()
|
|
PyUnicode(char c)
|
|
PyUnicode(PyString pystring)
|
|
PyUnicode(PyType subtype,
PyString pystring)
|
|
PyUnicode(PyType subtype,
java.lang.String string)
|
|
PyUnicode(java.lang.String string)
|
|
| Method Summary | |
|---|---|
PyObject |
__mod__(PyObject other)
Equivalent to the standard Python __mod__ method |
PyString |
__repr__()
Equivalent to the standard Python __repr__ method. |
PyString |
__str__()
Equivalent to the standard Python __str__ method. |
static void |
classDictInit(PyObject dict)
Internal use only. |
PyString |
createInstance(java.lang.String str)
|
java.lang.String |
safeRepr()
|
static void |
typeSetup(PyObject dict,
PyType.Newstyle marker)
|
PyString |
unicode___str__()
|
java.lang.String |
unicode_toString()
|
| Methods inherited from class org.python.core.PySequence |
|---|
__delitem__, __delslice__, __finditem__, __finditem__, __getitem__, __getslice__, __iter__, __nonzero__, __setitem__, __setitem__, __setslice__, isMappingType, isNumberType |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Class exposed_base
public static final java.lang.String exposed_name
| Constructor Detail |
|---|
public PyUnicode()
public PyUnicode(java.lang.String string)
public PyUnicode(PyType subtype,
java.lang.String string)
public PyUnicode(PyString pystring)
public PyUnicode(PyType subtype,
PyString pystring)
public PyUnicode(char c)
| Method Detail |
|---|
public static void typeSetup(PyObject dict,
PyType.Newstyle marker)
public static void classDictInit(PyObject dict)
throws PyIgnoreMethodTag
PyIgnoreMethodTag
public java.lang.String safeRepr()
throws PyIgnoreMethodTag
safeRepr in class PyStringPyIgnoreMethodTagpublic PyString createInstance(java.lang.String str)
createInstance in class PyStringpublic PyObject __mod__(PyObject other)
PyObject
__mod__ in class PyStringother - the object to perform this binary operation with
(the right-hand operand).
public PyString __str__()
PyObjectPyObject is to
override the standard Java toString method.
__str__ in class PyStringpublic PyString unicode___str__()
public PyString __repr__()
PyObjectPyObject is to
override the standard Java toString method.
__repr__ in class PyStringpublic java.lang.String unicode_toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||