Additional top-level classes in compilation unit: PySystemStateFunctions, PyAttributeDeleted, FloatInfo, LongInfo, WinVersion.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public static final PyTuple | |
| public PyList | argv
The arguments passed to this program on the command line. |
| public static PyTuple | |
| private static Map | |
| public PyObject | |
| public static final PyString | |
| private static File | |
| private static final String | |
| private int | |
| private ClassLoader | |
| private final PySystemState. | |
| private volatile codecs. | |
| public static final PyObject | copyright
The copyright notice for this release. |
| private String | |
| private static PyList | |
| private static PyObject | |
| private static PyList | |
| private static PyObject | |
| public boolean | dont_write_bytecode
Whether bytecode should be written to disk on import. |
| public static PyObject | exec_prefix
A string giving the site-specific directory prefix where the platform-dependent Python files
are installed; by default, this is the same as |
| public PyObject | |
| pack-priv static final PyString | FILE_SYSTEM_ENCODING
Nominal Jython file system encoding (as |
| public static final Class | |
| public static final PyObject | |
| public static final PyString | |
| public static final int | |
| private ReentrantLock | |
| private static boolean | |
| private static final String | |
| public static final String | |
| public static final String | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| private static final Logger | |
| public static final PyObject | |
| public static final int | |
| public static final int | |
| public static final int | |
| public PyList | |
| public static final int | |
| public PyObject | |
| public Map | |
| public static PackageManager | |
| public PyList | |
| public PyList | |
| public PyObject | |
| public PyObject | |
| public static PyObject | prefix
A string giving the site-specific directory prefix where the platform independent Python
files are installed; by default, this is based on the property |
| public PyObject | |
| public PyObject | |
| public static boolean | |
| private int | |
| public static Properties | |
| public PyObject | |
| public PyObject | |
| public PyObject | |
| public static final PyTuple | |
| private static final ConcurrentMap | |
| private ClassLoader | |
| private static final ReferenceQueue | |
| public static final PyString | |
| public static final PyVersionInfo | |
| public PyList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | __delattr__(String
the name which will be removed - must be an interned string . name)Overrides org. A variant of the __delattr__ method which accepts a String as the key. |
| public PyObject | __findattr_ex__(String name)
Overrides org. Attribute lookup hook. |
| public void | |
| public void | __setattr__(String
the name whose value will be set - must be an interned string . name, PyObject the value to set this name to value)Overrides org. A variant of the __setattr__ method which accepts a String as the key. |
| public static PyDictionary | |
| public static PyFrame | |
| public static PyFrame | |
| public static void | add_classdir(String directoryPath)
Add a classpath directory to the list of places that are searched for java packages. |
| public static void | add_extdir(String
The name of a directory. directoryPath)Add a .jar and .zip directory to the list of places that are searched for java .jar and .zip files. |
| public static void | add_extdir(String
The name of a directory. directoryPath, boolean Controls if the packages in the zip and jar file should be cached. cache)Add a .jar and .zip directory to the list of places that are searched for java .jar and .zip files. |
| public static PyJavaPackage | |
| public static PyJavaPackage | |
| private static void | |
| private static void | |
| private static void | addRegistryFile(File file)
Merge the contents of a property file into the registry, but existing entries with the same key take precedence. |
| public void | |
| private static void | |
| private static void | |
| public static void | |
| public void | |
| public void | close()
Implements java. Closes this resource, relinquishing any underlying resources. |
| private static void | determinePlatform(Properties props)
Set |
| pack-priv static void | |
| public static synchronized PySystemState | doInitialize(Properties preProperties, Properties postProperties, String[] argv, ClassLoader classLoader, ExtensiblePyObjectAdapter adapter)
|
| private static char | Returns: drive letter or char 0 if no drive letterto examine path)Return the Windows drive letter from the start of the path, upper case, or 0 if the path does not start X: where X is a letter. |
| public static void | |
| public static PyTuple | |
| pack-priv static void | |
| public static void | |
| public static void | |
| private static String | findRoot(Properties preProperties, Properties postProperties, String jarFileName)
Work out the root directory of the installation of Jython. |
| public static Properties | |
| public static String | |
| public PyObject | |
| public PyInteger | |
| public ClassLoader | |
| public codecs. | |
| private static String | Returns: the console encoding (and nevernull)in which to look for clues (normally the Jython registry) props)Try to determine the console encoding from the platform, if necessary using a sub-process to enquire. |
| public String | Returns: a path StringReturn a string representing the current working directory. |
| public static PyObject | |
| public PyString | |
| public File | |
| private static File | Returns: a resolvedFilea sys, String PySystemState or null meaning the current onea path path)StringResolve a path, returning a |
| public PyObject | |
| public ReentrantLock | |
| public static String | |
| public String | |
| private static String | |
| public static String | |
| public PyObject | |
| public PyObject | |
| public int | |
| public long | |
| public long | |
| public ClassLoader | |
| public static String | |
| public PyObject | |
| private static PyVersionInfo | |
| public PyObject | |
| private static File | Returns: specifier of the intended filecurrent working directory (of some cwd, String PySystemState)to resolve path)Resolve a relative path against the supplied current working directory or Windows environment working directory for any drive specified in the path. |
| public WinVersion | |
| private static PyList | |
| private static void | |
| private static void | |
| private static void | initConsole(Properties
containing (or not) props)python.consoleWrap standard input with a customised console handler specified in the property
|
| private void | initEncoding()
Initialise the encoding of |
| private static PyObject | Returns: a PyObject path string or Py.Nonea Properties registry props)Determine the default sys.executable value from the registry. |
| public static synchronized void | |
| public static synchronized void | |
| public static synchronized void | |
| public static synchronized void | initialize(Properties preProperties, Properties postProperties, String[] argv, ClassLoader classLoader)
|
| public static synchronized void | initialize(Properties preProperties, Properties postProperties, String[] argv, ClassLoader classLoader, ExtensiblePyObjectAdapter adapter)
|
| private static boolean | Returns: true if a service is found and successfully initializes.Attempts to read a SystemStateInitializer service from the given class loader, instantiate it, and initialize with it. |
| private static void | |
| private static PyList | |
| private static void | initRegistry(Properties
initial registry preProperties, Properties overriding values postProperties, boolean default standalone, String python.cachedir.skip to true (if not otherwise defined)as a clue to the location of the installation jarFileName)Install the first argument as the application-wide |
| public static boolean | |
| private static boolean | Returns: true if we have a standalone .jar file, false otherwise.The name of the jar file jarFileName)Check if we are in standalone mode. |
| public boolean | refersDirectlyTo(PyObject ob)
Implements org. Optional operation. |
| public void | |
| pack-priv void | |
| public void | |
| public void | |
| public void | |
| public void | setCurrentWorkingDir(String
a path String path)Change the current working directory to the specified path. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| public int | traverse(Visitproc visit, Object arg)
Implements org. Traverses all directly contained |
| private static String | |
| public boolean | |
| private static void | writeConsoleWarning(String
console class name we're trying to initialise consoleName, String specific cause of the failure msg)Convenience method wrapping |