org.python.util (Jython API documentation)
Date: 2024-08-18

# Package org.python.util

- Class Summary
  Class | Description
  --- | ---
  CodegenUtils |
  ConsoleInputStream | This class is intended to replace `System.in` for use with console libraries that provide a line-oriented input mechanism.
  ConsoleOutputStream | This class may be used to wrap and replace `System.out` so that the console handling library (JLine or Java Readline) can treat an incomplete line (one without a newline) as a prompt string, and so know the true position of the cursor.
  Generic | Static methods to make instances of collections with their generic types inferred from what they're being assigned to.
  GlobMatchingTask |
  InteractiveConsole | This class provides the read, execute, print loop needed by a Python console; it is not actually a console itself.
  InteractiveInterpreter | This class provides the interface for compiling and running code that supports an interactive interpreter.
  JarRunner | JarRunner initializes sys (PySystemState), passing args in (including the name "__run__" as arg 0 for consistancy with Python expectations), and import __run__.
  JLineConsole | This class uses JLine to provide readline like functionality to its console without requiring native readline support.
  JycompileAntTask | Compiles all python files in a directory to bytecode, and writes them to another directory, possibly the same one.
  jython |
  JythoncAntTask | Jythonc is a Python compiler into Java Bytecode.
  NameUnionAntType | Unions several resource collections by the name of their contained resources.
  ProxyCompiler |
  PyFilter | Enables you to write Jython modules that inherit from `javax.servlet.Filter`, and to insert them in your servlet container's filter chain, like any Java `Filter`.
  PyServlet | This servlet is used to re-serve Jython servlets.
  PyServletInitializer | Initializes the jython runtime inside a servlet engine.
  PythonInterpreter | The PythonInterpreter class is a standard wrapper for a Jython interpreter for embedding in a Java application.
  PythonObjectInputStream |
  TemplateAntTask | Template is an Ant task for generating new-style object definitions based on template files.

- Enum Summary
  Enum | Description
  --- | ---
  ConsoleInputStream.EOLPolicy | Enumeration used to specify whether an end-of-line should be added or replaced at the end of each line read.

Jython homepage