|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.umd.cs.findbugs.URLClassPath.RemoteDirectoryEntry
private static class URLClassPath.RemoteDirectoryEntry
Classpath entry class to load files from a remote directory URL.
| Field Summary | |
|---|---|
private java.net.URL |
remoteDirURL
|
| Constructor Summary | |
|---|---|
URLClassPath.RemoteDirectoryEntry(java.net.URL remoteDirURL)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getURL()
Get filename or URL as string. |
java.io.InputStream |
openStream(java.lang.String resourceName)
Open an input stream to read a resource in the codebase described by this classpath entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.net.URL remoteDirURL
| Constructor Detail |
|---|
public URLClassPath.RemoteDirectoryEntry(java.net.URL remoteDirURL)
remoteDirURL - URL of the remote directory; must end in "/"| Method Detail |
|---|
public java.io.InputStream openStream(java.lang.String resourceName)
throws java.io.IOException
URLClassPath.Entry
openStream in interface URLClassPath.EntryresourceName - name of resource to load: e.g., "java/lang/Object.class"
java.io.IOException - if an I/O error occurspublic java.lang.String getURL()
URLClassPath.Entry
getURL in interface URLClassPath.Entry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||