| Modifier and Type | Field and Description |
|---|---|
| private static final char |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Package | |
| private static String | |
| protected Class | findClass(String
The binary name of the class name)Overrides java. Finds the class with the specified binary name. |
| protected URL | findResource(String
The resource name res)Overrides java. Finds the resource with the given name. |
| protected Enumeration | findResources(String
The resource name res)Overrides java. Returns an enumeration of |
| private byte[] | |
| private byte[] | |
| private byte[] | Returns: an array of byte[size] with the contents readThe input stream input, int The number of bytes to read size)Returns a byte[] with the contents read from an InputStream. |
| private File | |
| pack-priv static PyObject |
| SLASH_CHAR | back to summary |
|---|---|
| private static final char SLASH_CHAR | |
| SyspathJavaLoader | back to summary |
|---|---|
| public SyspathJavaLoader(ClassLoader parent) | |
| definePackageForClass | back to summary |
|---|---|
| protected Package definePackageForClass(String name) | |
| deslashResource | back to summary |
|---|---|
| private static String deslashResource(String res) | |
| findClass | back to summary |
|---|---|
| protected Class Overrides java. Doc from java. Finds the class with the specified binary name.
This method should be overridden by class loader implementations that
follow the delegation model for loading classes, and will be invoked by
the
| |
| findResource | back to summary |
|---|---|
| protected URL findResource(String res) Overrides java. Doc from java. Finds the resource with the given name. Class loader implementations should override this method. For resources in named modules then the method must implement the
rules for encapsulation specified in the
| |
| findResources | back to summary |
|---|---|
| protected Enumeration Overrides java. Doc from java. Returns an enumeration of For resources in named modules then the method must implement the
rules for encapsulation specified in the
| |
| getBytesFromArchive | back to summary |
|---|---|
| private byte[] getBytesFromArchive(SyspathArchive archive, String name) | |
| getBytesFromDir | back to summary |
|---|---|
| private byte[] getBytesFromDir(String dir, String name) | |
| getBytesFromInputStream | back to summary |
|---|---|
| private byte[] getBytesFromInputStream(InputStream input, int size) Returns a byte[] with the contents read from an InputStream. The stream is closed after reading the bytes.
an array of byte[size] with the contents read | |
| getFile | back to summary |
|---|---|
| private File getFile(String dir, String name) | |
| replacePathItem | back to summary |
|---|---|
| pack-priv static PyObject replacePathItem(PySystemState sys, int idx, PyList paths) | |