public final class ClassResource extends URLResource
open().| Constructor and Description |
|---|
ClassResource(Class<?> clazz,
String resource) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
open()
Override the default open-from-URL method so that we don't lock the source JAR.
|
equals, getUrl, hashCode, toStringpublic InputStream open() throws IOException
open in interface IResourceopen in class URLResourceIOException