Additional top-level classes in compilation unit: ClassPathList, DirClassPath, JarDirClassPath, JarClassPath.
| Modifier and Type | Field and Description |
|---|---|
| protected ClassPathList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized ClassPath | |
| public ClassPath | |
| public ClassPath | |
| public static void | copyStream(InputStream fin, OutputStream fout)
Reads from an input stream and write to an output stream until it reaches the end. |
| public URL | |
| public synchronized ClassPath | |
| public ClassPath | |
| private static ClassPath | |
| pack-priv InputStream | Returns: null if the file has not been found.a fully-qualified class name classname)Opens the class file for the class specified by
|
| public static byte[] | Returns: the contents of that input streamReads from an input stream until it reaches the end. |
| public synchronized void | |
| public String | |
| pack-priv void |
| pathList | back to summary |
|---|---|
| protected ClassPathList pathList | |
| ClassPoolTail | back to summary |
|---|---|
| public ClassPoolTail() | |
| appendClassPath | back to summary |
|---|---|
| public synchronized ClassPath appendClassPath(ClassPath cp) | |
| appendClassPath | back to summary |
|---|---|
| public ClassPath appendClassPath(String pathname) throws NotFoundException | |
| appendSystemPath | back to summary |
|---|---|
| public ClassPath appendSystemPath() | |
| copyStream | back to summary |
|---|---|
| public static void copyStream(InputStream fin, OutputStream fout) throws IOException Reads from an input stream and write to an output stream until it reaches the end. This method does not close the streams. | |
| find | back to summary |
|---|---|
| public URL find(String classname) Searches the class path to obtain the URL of the class file specified by classname. It is also used to determine whether the class file exists. | |
| insertClassPath | back to summary |
|---|---|
| public synchronized ClassPath insertClassPath(ClassPath cp) | |
| insertClassPath | back to summary |
|---|---|
| public ClassPath insertClassPath(String pathname) throws NotFoundException | |
| makePathObject | back to summary |
|---|---|
| private static ClassPath makePathObject(String pathname) throws NotFoundException | |
| openClassfile | back to summary |
|---|---|
| pack-priv InputStream openClassfile(String classname) throws NotFoundException Opens the class file for the class specified by
| |
| readStream | back to summary |
|---|---|
| public static byte[] readStream(InputStream fin) throws IOException Reads from an input stream until it reaches the end.
| |
| removeClassPath | back to summary |
|---|---|
| public synchronized void removeClassPath(ClassPath cp) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| writeClassfile | back to summary |
|---|---|
| pack-priv void writeClassfile(String classname, OutputStream out) throws NotFoundException, IOException, CannotCompileException This method does not close the output stream. | |