Java Doc for Py.java in  » Testing » Marathon » org » python » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » Marathon » org.python.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.python.core.Py

Py
final public class Py (Code)

Inner Class :static class SingletonResolver implements Serializable

Field Summary
public static  PyObjectArithmeticError
    
public static  PyObjectAssertionError
    
public static  PyObjectAttributeError
    
final public static  intCOMMENT
    
final public static  intDEBUG
    
public static  PyObjectDeprecationWarning
    
public static  PyObjectEOFError
    
final public static  intERROR
    
public static  PyObjectEllipsis
     The singleton Ellipsis Python object - written as ...
public static  PyObject[]EmptyObjects
    
public static  PyStringEmptyString
    
public static  PyTupleEmptyTuple
    
public static  PyObjectEnvironmentError
    
public static  PyObjectException
    
public static  PyObjectFloatingPointError
    
public static  PyObjectIOError
    
public static  PyObjectImportError
    
public static  PyObjectIndentationError
    
public static  PyObjectIndexError
    
public static  PyObjectJavaError
    
public static  PyObjectKeyError
    
public static  PyObjectKeyboardInterrupt
    
public static  PyObjectLookupError
    
final public static  intMESSAGE
    
public static  PyObjectMemoryError
    
public static  PyObjectNameError
    
public static  PyStringNewline
    
public static  ObjectNoConversion
    
public static  String[]NoKeywords
    
public static  PyObjectNone
    
public static  PyObjectNotImplemented
     The singleton NotImplemented Python object.
public static  PyObjectNotImplementedError
    
public static  PyObjectOSError
    
public static  PyIntegerOne
    
public static  PyObjectOverflowError
    
public static  PyObjectOverflowWarning
    
public static  PyObjectReferenceError
    
public static  PyObjectRuntimeError
    
public static  PyObjectRuntimeWarning
    
public static  PyStringSpace
    
public static  PyObjectStandardError
    
public static  PyObjectStopIteration
    
public static  PyObjectSyntaxError
    
public static  PyObjectSyntaxWarning
    
public static  PyObjectSystemError
    
public static  PyObjectSystemExit
    
public static  PyObjectTabError
    
public static  PyObjectTypeError
    
public static  PyObjectUnboundLocalError
    
public static  PyObjectUnicodeError
    
public static  PyObjectUserWarning
    
public static  PyObjectValueError
    
final public static  intWARNING
    
public static  PyObjectWarning
    
public static  PyIntegerZero
    
public static  PyObjectZeroDivisionError
    
public static  PySystemStatedefaultSystemState
    
static  booleanfrozen
    
static  java.util.HashtablefrozenModules
    
static  StringfrozenPackage
    
static  booleaninitialized
    
public static  StdoutWrapperstderr
    
static  StdoutWrapperstdout
    


Method Summary
public static  PyExceptionAssertionError(String message)
    
public static  PyExceptionAttributeError(String message)
    
public static  voidDeprecationWarning(String message)
    
public static  PyExceptionEOFError(String message)
    
public static  PyExceptionFloatingPointError(String message)
    
public static  PyExceptionIOError(java.io.IOException ioe)
    
public static  PyExceptionIOError(String message)
    
public static  PyExceptionImportError(String message)
    
public static  PyExceptionIndexError(String message)
    
public static  PyExceptionJavaError(Throwable t)
    
public static  PyExceptionKeyError(String message)
    
public static  PyExceptionMemoryError(String message)
    
public static  PyExceptionNameError(String message)
    
public static  PyExceptionOverflowError(String message)
    
public static  voidOverflowWarning(String message)
    
public static  PyExceptionReferenceError(String message)
    
public static  PyExceptionRuntimeError(String message)
    
public static  voidRuntimeWarning(String message)
    
public static  PyExceptionStopIteration(String message)
    
public static  PyExceptionSyntaxError(String message)
    
public static  voidSyntaxWarning(String message)
    
public static  PyExceptionSystemError(String message)
    
public static  PyExceptionTypeError(String message)
    
public static  PyExceptionUnboundLocalError(String message)
    
public static  PyExceptionUnicodeError(String message)
    
public static  voidUserWarning(String message)
    
public static  PyExceptionValueError(String message)
    
public static  voidWarning(String message)
    
public static  PyExceptionZeroDivisionError(String message)
    
public static  voidaddTraceback(Throwable t, PyFrame frame)
    
public static  voidassert_(PyObject test, PyObject message)
    
public static  voidassert_(PyObject test)
    
public static  PyCodecompile(modType node, String filename)
    
public static  PyCodecompile(modType node, String name, String filename)
    
public static  PyCodecompile(modType node, String name, String filename, boolean linenumbers, boolean printResults)
    
public static  PyCodecompile(InputStream istream, String filename, String type)
    
public static  PyObjectcompile_command_flags(String string, String filename, String kind, CompilerFlags cflags, boolean stdprompt)
    
public static  PyCodecompile_flags(modType node, String name, String filename, boolean linenumbers, boolean printResults, CompilerFlags cflags)
    
public static  PyCodecompile_flags(InputStream istream, String filename, String type, CompilerFlags cflags)
    
public static  PyCodecompile_flags(String data, String filename, String type, CompilerFlags cflags)
    
public static  voiddisplayException(PyObject type, PyObject value, PyObject tb, PyObject file)
    
public static  voidexec(PyObject o, PyObject globals, PyObject locals)
    
public static  ClassfindClass(String name)
    
public static  ClassfindClassEx(String name, String reason)
    
static  StringformatException(PyObject type, PyObject value, PyObject tb)
    
public static  ExtensiblePyObjectAdaptergetAdapter()
    
public static  CompilerFlagsgetCompilerFlags()
    
public static  CompilerFlagsgetCompilerFlags(int flags, boolean dont_inherit)
    
public static  PyFramegetFrame()
    
public static synchronized  StringgetName()
    
final public static  PySystemStategetSystemState()
    
final public static  ThreadStategetThreadState()
    
final public static  ThreadStategetThreadState(PySystemState newSystemState)
    
public static  longid(PyObject o)
    
public static  Stringidstr(PyObject o)
    
static  voidinitClassExceptions(PyObject dict)
    
public static  voidinitProxy(PyProxy proxy, String module, String pyclass, Object[] args, String[] packages, String[] props, boolean frozen)
    
public static  voidinitProxy(PyProxy proxy, String module, String pyclass, Object[] args, String[] packages, String[] props, String frozenPackage, String[] modules)
    
public static synchronized  booleaninitPython()
    
public static  voidinitRunnable(String module, PyObject dict)
    
public static  booleanisInstance(PyObject obj, PyObject cls)
    
public static  booleanisSubClass(PyObject derived, PyObject cls)
    
public static  PyObjectiter(PyObject seq, String message)
    
public static  PyObjectjava2py(Object o)
     Uses the PyObjectAdapter passed to PySystemState.initialize to turn o into a PyObject.
public static  longjava_obj_id(Object o)
    
public static  PyObjectjfindattr(PyProxy proxy, String name)
    
public static  PyObjectjgetattr(PyProxy proxy, String name)
    
final public static  PyStringmakeCharacter(Character o)
    
final static  PyStringmakeCharacter(char c)
    
final static  PyStringmakeCharacter(char c, boolean explicitUnicode)
    
public static  PyObjectmakeClass(String name, PyObject[] bases, PyCode code, PyObject doc)
    
public static  PyObjectmakeClass(String name, PyObject[] bases, PyCode code, PyObject doc, PyObject[] closure_cells)
    
public static  PyObjectmakeClass(String name, PyObject[] bases, PyCode code, PyObject doc, Class proxyClass)
    
public static  PyObjectmakeClass(String name, PyObject[] bases, PyCode code, PyObject doc, Class proxyClass, PyObject[] closure_cells)
    
public static  PyExceptionmakeException()
    
public static  PyExceptionmakeException(PyObject type)
    
public static  PyExceptionmakeException(PyObject type, PyObject value)
    
public static  PyExceptionmakeException(PyObject type, PyObject value, PyObject traceback)
    
static  PyObject[]make_array(PyObject o)
    
public static  booleanmatchException(PyException pye, PyObject e)
    
static  voidmaybeSystemExit(PyException exc)
    
public static  voidmaybeWrite(String type, String msg, int level)
    
public static  voidmemory_error(OutOfMemoryError t)
    
public static  PyIntegernewBoolean(boolean t)
    
public static  PyCodenewCode(int argcount, String varnames, String filename, String name, boolean args, boolean keywords, PyFunctionTable funcs, int func_id, String[] cellvars, String[] freevars, int npurecell, int moreflags)
    
public static  PyCodenewCode(int argcount, String varnames, String filename, String name, int firstlineno, boolean args, boolean keywords, PyFunctionTable funcs, int func_id, String[] cellvars, String[] freevars, int npurecell, int moreflags)
    
public static  PyCodenewCode(int argcount, String varnames, String filename, String name, boolean args, boolean keywords, PyFunctionTable funcs, int func_id)
    
public static  PyCodenewCode(int argcount, String varnames, String filename, String name, int firstlineno, boolean args, boolean keywords, PyFunctionTable funcs, int func_id)
    
public static  PyFloatnewFloat(float v)
    
public static  PyFloatnewFloat(double v)
    
public static  PyComplexnewImaginary(double v)
    
final public static  PyIntegernewInteger(int i)
    
public static  PyObjectnewInteger(long i)
    
public static  PyCodenewJavaCode(Class cls, String name)
    
public static  PyObjectnewJavaFunc(Class cls, String name)
    
public static  PyLongnewLong(String s)
    
public static  PyLongnewLong(java.math.BigInteger i)
    
public static  PyLongnewLong(int i)
    
public static  PyStringnewString(char c)
    
public static  PyStringnewString(String s)
    
public static  PyUnicodenewUnicode(char c)
    
public static  PyUnicodenewUnicode(String s)
    
public static  voidprint(PyObject file, PyObject o)
    
public static  voidprint(PyObject o)
    
public static  voidprintComma(PyObject file, PyObject o)
    
public static  voidprintComma(PyObject o)
    
public static  voidprintException(Throwable t)
    
public static  voidprintException(Throwable t, PyFrame f)
    
public static synchronized  voidprintException(Throwable t, PyFrame f, PyObject file)
    
public static  voidprintResult(PyObject ret)
    
public static  voidprintln(PyObject file, PyObject o)
    
public static  voidprintln(PyObject o)
    
public static  voidprintln()
    
public static  voidprintlnv(PyObject file)
    
public static  booleanpy2boolean(PyObject o)
    
public static  bytepy2byte(PyObject o)
    
public static  charpy2char(PyObject o)
    
public static  charpy2char(PyObject o, String msg)
    
public static  doublepy2double(PyObject o)
    
public static  floatpy2float(PyObject o)
    
public static  intpy2int(PyObject o)
    
public static  intpy2int(PyObject o, String msg)
    
public static  longpy2long(PyObject o)
    
public static  shortpy2short(PyObject o)
    
public static  voidpy2void(PyObject o)
    
public static  ClassrelFindClass(Class home, String name)
    
public static  PyObjectrunCode(PyCode code, PyObject locals, PyObject globals)
    
public static  voidrunMain(PyRunnable main, String[] args)
    
public static  voidrunMain(Class mainClass, String[] args, String[] packages, String[] props, String frozenPackage, String[] modules)
    
public static  StringsafeRepr(PyObject o)
    
public static  voidsaveClassFile(String name, ByteArrayOutputStream bytestream)
    
protected static  voidsetAdapter(ExtensiblePyObjectAdapter adapter)
     Set the ExtensiblePyObjectAdapter used by java2py.
public static  PyExceptionsetException(Throwable t, PyFrame frame)
    
public static  voidsetFrame(PyFrame f)
    
final public static  PySystemStatesetSystemState(PySystemState newSystemState)
    
public static  Objecttojava(PyObject o, Class c)
     Convert a given PyObject to an instance of a Java class.
public static  Objecttojava(PyObject o, String s)
    
public static  PyObject[]unpackSequence(PyObject o, int length)
    
public static  voidwarning(PyObject category, String message)
    
public static  voidwarning(PyObject category, String message, String filename, int lineno, String module, PyObject registry)
    
public static  voidwriteComment(String type, String msg)
    
public static  voidwriteDebug(String type, String msg)
    
public static  voidwriteError(String type, String msg)
    
public static  voidwriteMessage(String type, String msg)
    
public static  voidwriteWarning(String type, String msg)
    

Field Detail
ArithmeticError
public static PyObject ArithmeticError(Code)



AssertionError
public static PyObject AssertionError(Code)



AttributeError
public static PyObject AttributeError(Code)



COMMENT
final public static int COMMENT(Code)



DEBUG
final public static int DEBUG(Code)



DeprecationWarning
public static PyObject DeprecationWarning(Code)



EOFError
public static PyObject EOFError(Code)



ERROR
final public static int ERROR(Code)



Ellipsis
public static PyObject Ellipsis(Code)
The singleton Ellipsis Python object - written as ... when indexing



EmptyObjects
public static PyObject[] EmptyObjects(Code)
A zero-length array of PyObject's to pass to functions that expect zero-arguments *



EmptyString
public static PyString EmptyString(Code)
A zero-length Python string *



EmptyTuple
public static PyTuple EmptyTuple(Code)
A tuple with zero elements *



EnvironmentError
public static PyObject EnvironmentError(Code)



Exception
public static PyObject Exception(Code)



FloatingPointError
public static PyObject FloatingPointError(Code)



IOError
public static PyObject IOError(Code)



ImportError
public static PyObject ImportError(Code)



IndentationError
public static PyObject IndentationError(Code)



IndexError
public static PyObject IndexError(Code)



JavaError
public static PyObject JavaError(Code)



KeyError
public static PyObject KeyError(Code)



KeyboardInterrupt
public static PyObject KeyboardInterrupt(Code)



LookupError
public static PyObject LookupError(Code)



MESSAGE
final public static int MESSAGE(Code)



MemoryError
public static PyObject MemoryError(Code)



NameError
public static PyObject NameError(Code)



Newline
public static PyString Newline(Code)
A Python string containing '\n' *



NoConversion
public static Object NoConversion(Code)
A unique object to indicate no conversion is possible in __tojava__ methods *



NoKeywords
public static String[] NoKeywords(Code)
A zero-length array of Strings to pass to functions that don't have any keyword arguments *



None
public static PyObject None(Code)
The singleton None Python object *



NotImplemented
public static PyObject NotImplemented(Code)
The singleton NotImplemented Python object. Used in rich comparison



NotImplementedError
public static PyObject NotImplementedError(Code)



OSError
public static PyObject OSError(Code)



One
public static PyInteger One(Code)
The Python integer 1 - also used as true *



OverflowError
public static PyObject OverflowError(Code)



OverflowWarning
public static PyObject OverflowWarning(Code)



ReferenceError
public static PyObject ReferenceError(Code)



RuntimeError
public static PyObject RuntimeError(Code)



RuntimeWarning
public static PyObject RuntimeWarning(Code)



Space
public static PyString Space(Code)
A Python string containing ' ' *



StandardError
public static PyObject StandardError(Code)



StopIteration
public static PyObject StopIteration(Code)



SyntaxError
public static PyObject SyntaxError(Code)



SyntaxWarning
public static PyObject SyntaxWarning(Code)



SystemError
public static PyObject SystemError(Code)



SystemExit
public static PyObject SystemExit(Code)



TabError
public static PyObject TabError(Code)



TypeError
public static PyObject TypeError(Code)



UnboundLocalError
public static PyObject UnboundLocalError(Code)



UnicodeError
public static PyObject UnicodeError(Code)



UserWarning
public static PyObject UserWarning(Code)



ValueError
public static PyObject ValueError(Code)



WARNING
final public static int WARNING(Code)



Warning
public static PyObject Warning(Code)



Zero
public static PyInteger Zero(Code)
The Python integer 0 - also used as false *



ZeroDivisionError
public static PyObject ZeroDivisionError(Code)



defaultSystemState
public static PySystemState defaultSystemState(Code)



frozen
static boolean frozen(Code)



frozenModules
static java.util.Hashtable frozenModules(Code)



frozenPackage
static String frozenPackage(Code)



initialized
static boolean initialized(Code)



stderr
public static StdoutWrapper stderr(Code)



stdout
static StdoutWrapper stdout(Code)





Method Detail
AssertionError
public static PyException AssertionError(String message)(Code)



AttributeError
public static PyException AttributeError(String message)(Code)



DeprecationWarning
public static void DeprecationWarning(String message)(Code)



EOFError
public static PyException EOFError(String message)(Code)



FloatingPointError
public static PyException FloatingPointError(String message)(Code)



IOError
public static PyException IOError(java.io.IOException ioe)(Code)



IOError
public static PyException IOError(String message)(Code)



ImportError
public static PyException ImportError(String message)(Code)



IndexError
public static PyException IndexError(String message)(Code)



JavaError
public static PyException JavaError(Throwable t)(Code)



KeyError
public static PyException KeyError(String message)(Code)



MemoryError
public static PyException MemoryError(String message)(Code)



NameError
public static PyException NameError(String message)(Code)



OverflowError
public static PyException OverflowError(String message)(Code)



OverflowWarning
public static void OverflowWarning(String message)(Code)



ReferenceError
public static PyException ReferenceError(String message)(Code)



RuntimeError
public static PyException RuntimeError(String message)(Code)



RuntimeWarning
public static void RuntimeWarning(String message)(Code)



StopIteration
public static PyException StopIteration(String message)(Code)



SyntaxError
public static PyException SyntaxError(String message)(Code)



SyntaxWarning
public static void SyntaxWarning(String message)(Code)



SystemError
public static PyException SystemError(String message)(Code)



TypeError
public static PyException TypeError(String message)(Code)



UnboundLocalError
public static PyException UnboundLocalError(String message)(Code)



UnicodeError
public static PyException UnicodeError(String message)(Code)



UserWarning
public static void UserWarning(String message)(Code)



ValueError
public static PyException ValueError(String message)(Code)



Warning
public static void Warning(String message)(Code)



ZeroDivisionError
public static PyException ZeroDivisionError(String message)(Code)



addTraceback
public static void addTraceback(Throwable t, PyFrame frame)(Code)



assert_
public static void assert_(PyObject test, PyObject message)(Code)



assert_
public static void assert_(PyObject test)(Code)



compile
public static PyCode compile(modType node, String filename)(Code)



compile
public static PyCode compile(modType node, String name, String filename)(Code)



compile
public static PyCode compile(modType node, String name, String filename, boolean linenumbers, boolean printResults)(Code)



compile
public static PyCode compile(InputStream istream, String filename, String type)(Code)



compile_command_flags
public static PyObject compile_command_flags(String string, String filename, String kind, CompilerFlags cflags, boolean stdprompt)(Code)



compile_flags
public static PyCode compile_flags(modType node, String name, String filename, boolean linenumbers, boolean printResults, CompilerFlags cflags)(Code)



compile_flags
public static PyCode compile_flags(InputStream istream, String filename, String type, CompilerFlags cflags)(Code)



compile_flags
public static PyCode compile_flags(String data, String filename, String type, CompilerFlags cflags)(Code)



displayException
public static void displayException(PyObject type, PyObject value, PyObject tb, PyObject file)(Code)



exec
public static void exec(PyObject o, PyObject globals, PyObject locals)(Code)



findClass
public static Class findClass(String name)(Code)



findClassEx
public static Class findClassEx(String name, String reason)(Code)



formatException
static String formatException(PyObject type, PyObject value, PyObject tb)(Code)



getAdapter
public static ExtensiblePyObjectAdapter getAdapter()(Code)
the ExtensiblePyObjectAdapter used by java2py.



getCompilerFlags
public static CompilerFlags getCompilerFlags()(Code)



getCompilerFlags
public static CompilerFlags getCompilerFlags(int flags, boolean dont_inherit)(Code)



getFrame
public static PyFrame getFrame()(Code)



getName
public static synchronized String getName()(Code)



getSystemState
final public static PySystemState getSystemState()(Code)



getThreadState
final public static ThreadState getThreadState()(Code)



getThreadState
final public static ThreadState getThreadState(PySystemState newSystemState)(Code)



id
public static long id(PyObject o)(Code)



idstr
public static String idstr(PyObject o)(Code)



initClassExceptions
static void initClassExceptions(PyObject dict)(Code)



initProxy
public static void initProxy(PyProxy proxy, String module, String pyclass, Object[] args, String[] packages, String[] props, boolean frozen)(Code)



initProxy
public static void initProxy(PyProxy proxy, String module, String pyclass, Object[] args, String[] packages, String[] props, String frozenPackage, String[] modules)(Code)



initPython
public static synchronized boolean initPython()(Code)



initRunnable
public static void initRunnable(String module, PyObject dict)(Code)



isInstance
public static boolean isInstance(PyObject obj, PyObject cls)(Code)



isSubClass
public static boolean isSubClass(PyObject derived, PyObject cls)(Code)



iter
public static PyObject iter(PyObject seq, String message)(Code)



java2py
public static PyObject java2py(Object o)(Code)
Uses the PyObjectAdapter passed to PySystemState.initialize to turn o into a PyObject.
See Also:   ClassicPyObjectAdapter
See Also:    - default PyObjectAdapter type



java_obj_id
public static long java_obj_id(Object o)(Code)



jfindattr
public static PyObject jfindattr(PyProxy proxy, String name)(Code)



jgetattr
public static PyObject jgetattr(PyProxy proxy, String name)(Code)



makeCharacter
final public static PyString makeCharacter(Character o)(Code)



makeCharacter
final static PyString makeCharacter(char c)(Code)



makeCharacter
final static PyString makeCharacter(char c, boolean explicitUnicode)(Code)



makeClass
public static PyObject makeClass(String name, PyObject[] bases, PyCode code, PyObject doc)(Code)



makeClass
public static PyObject makeClass(String name, PyObject[] bases, PyCode code, PyObject doc, PyObject[] closure_cells)(Code)



makeClass
public static PyObject makeClass(String name, PyObject[] bases, PyCode code, PyObject doc, Class proxyClass)(Code)



makeClass
public static PyObject makeClass(String name, PyObject[] bases, PyCode code, PyObject doc, Class proxyClass, PyObject[] closure_cells)(Code)



makeException
public static PyException makeException()(Code)



makeException
public static PyException makeException(PyObject type)(Code)



makeException
public static PyException makeException(PyObject type, PyObject value)(Code)



makeException
public static PyException makeException(PyObject type, PyObject value, PyObject traceback)(Code)



make_array
static PyObject[] make_array(PyObject o)(Code)



matchException
public static boolean matchException(PyException pye, PyObject e)(Code)



maybeSystemExit
static void maybeSystemExit(PyException exc)(Code)



maybeWrite
public static void maybeWrite(String type, String msg, int level)(Code)



memory_error
public static void memory_error(OutOfMemoryError t)(Code)



newBoolean
public static PyInteger newBoolean(boolean t)(Code)



newCode
public static PyCode newCode(int argcount, String varnames, String filename, String name, boolean args, boolean keywords, PyFunctionTable funcs, int func_id, String[] cellvars, String[] freevars, int npurecell, int moreflags)(Code)



newCode
public static PyCode newCode(int argcount, String varnames, String filename, String name, int firstlineno, boolean args, boolean keywords, PyFunctionTable funcs, int func_id, String[] cellvars, String[] freevars, int npurecell, int moreflags)(Code)



newCode
public static PyCode newCode(int argcount, String varnames, String filename, String name, boolean args, boolean keywords, PyFunctionTable funcs, int func_id)(Code)



newCode
public static PyCode newCode(int argcount, String varnames, String filename, String name, int firstlineno, boolean args, boolean keywords, PyFunctionTable funcs, int func_id)(Code)



newFloat
public static PyFloat newFloat(float v)(Code)



newFloat
public static PyFloat newFloat(double v)(Code)



newImaginary
public static PyComplex newImaginary(double v)(Code)



newInteger
final public static PyInteger newInteger(int i)(Code)



newInteger
public static PyObject newInteger(long i)(Code)



newJavaCode
public static PyCode newJavaCode(Class cls, String name)(Code)



newJavaFunc
public static PyObject newJavaFunc(Class cls, String name)(Code)



newLong
public static PyLong newLong(String s)(Code)



newLong
public static PyLong newLong(java.math.BigInteger i)(Code)



newLong
public static PyLong newLong(int i)(Code)



newString
public static PyString newString(char c)(Code)



newString
public static PyString newString(String s)(Code)



newUnicode
public static PyUnicode newUnicode(char c)(Code)



newUnicode
public static PyUnicode newUnicode(String s)(Code)



print
public static void print(PyObject file, PyObject o)(Code)



print
public static void print(PyObject o)(Code)



printComma
public static void printComma(PyObject file, PyObject o)(Code)



printComma
public static void printComma(PyObject o)(Code)



printException
public static void printException(Throwable t)(Code)



printException
public static void printException(Throwable t, PyFrame f)(Code)



printException
public static synchronized void printException(Throwable t, PyFrame f, PyObject file)(Code)



printResult
public static void printResult(PyObject ret)(Code)



println
public static void println(PyObject file, PyObject o)(Code)



println
public static void println(PyObject o)(Code)



println
public static void println()(Code)



printlnv
public static void printlnv(PyObject file)(Code)



py2boolean
public static boolean py2boolean(PyObject o)(Code)



py2byte
public static byte py2byte(PyObject o)(Code)



py2char
public static char py2char(PyObject o)(Code)



py2char
public static char py2char(PyObject o, String msg)(Code)



py2double
public static double py2double(PyObject o)(Code)



py2float
public static float py2float(PyObject o)(Code)



py2int
public static int py2int(PyObject o)(Code)



py2int
public static int py2int(PyObject o, String msg)(Code)



py2long
public static long py2long(PyObject o)(Code)



py2short
public static short py2short(PyObject o)(Code)



py2void
public static void py2void(PyObject o)(Code)



relFindClass
public static Class relFindClass(Class home, String name)(Code)



runCode
public static PyObject runCode(PyCode code, PyObject locals, PyObject globals)(Code)



runMain
public static void runMain(PyRunnable main, String[] args) throws Exception(Code)
Initializes a default PythonInterpreter and runs the code from PyRunnable.getMain as __main__ Called by the code generated in Module.addMain



runMain
public static void runMain(Class mainClass, String[] args, String[] packages, String[] props, String frozenPackage, String[] modules) throws Exception(Code)



safeRepr
public static String safeRepr(PyObject o)(Code)



saveClassFile
public static void saveClassFile(String name, ByteArrayOutputStream bytestream)(Code)



setAdapter
protected static void setAdapter(ExtensiblePyObjectAdapter adapter)(Code)
Set the ExtensiblePyObjectAdapter used by java2py.
Parameters:
  adapter - The new ExtensiblePyObjectAdapter



setException
public static PyException setException(Throwable t, PyFrame frame)(Code)



setFrame
public static void setFrame(PyFrame f)(Code)



setSystemState
final public static PySystemState setSystemState(PySystemState newSystemState)(Code)



tojava
public static Object tojava(PyObject o, Class c)(Code)
Convert a given PyObject to an instance of a Java class. Identical to o.__tojava__(c) except that it will raise a TypeError if the conversion fails.
Parameters:
  o - the PyObject to convert.
Parameters:
  c - the class to convert it to.



tojava
public static Object tojava(PyObject o, String s)(Code)



unpackSequence
public static PyObject[] unpackSequence(PyObject o, int length)(Code)



warning
public static void warning(PyObject category, String message)(Code)



warning
public static void warning(PyObject category, String message, String filename, int lineno, String module, PyObject registry)(Code)



writeComment
public static void writeComment(String type, String msg)(Code)



writeDebug
public static void writeDebug(String type, String msg)(Code)



writeError
public static void writeError(String type, String msg)(Code)



writeMessage
public static void writeMessage(String type, String msg)(Code)



writeWarning
public static void writeWarning(String type, String msg)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.