public class JarResource extends Object implements ClassLoadingResource
| Constructor and Description |
|---|
JarResource(ManifestInfo manifestInfo,
Path jarPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ManifestInfo |
getManifestInfo() |
ProtectionDomain |
getProtectionDomain(ClassLoader classLoader) |
byte[] |
getResourceData(String resource) |
URL |
getResourceURL(String resource) |
public JarResource(ManifestInfo manifestInfo, Path jarPath)
public byte[] getResourceData(String resource)
getResourceData in interface ClassLoadingResourcepublic URL getResourceURL(String resource)
getResourceURL in interface ClassLoadingResourcepublic ManifestInfo getManifestInfo()
getManifestInfo in interface ClassLoadingResourcepublic ProtectionDomain getProtectionDomain(ClassLoader classLoader)
getProtectionDomain in interface ClassLoadingResourcepublic void close()
close in interface ClassLoadingResourceCopyright © 2020 JBoss by Red Hat. All rights reserved.