public class MemoryClassPathElement extends AbstractClassPathElement
EMPTY| Constructor and Description |
|---|
MemoryClassPathElement(Map<String,byte[]> resources) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ProtectionDomain |
getProtectionDomain(ClassLoader classLoader) |
Set<String> |
getProvidedResources()
Returns a set of all known resources.
|
ClassPathResource |
getResource(String name)
Loads a resource from the class path element, or null if it does not exist.
|
Path |
getRoot() |
void |
reset(Map<String,byte[]> resources) |
getManifestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromPathpublic Path getRoot()
public ClassPathResource getResource(String name)
ClassPathElementname - The resource to loadpublic Set<String> getProvidedResources()
ClassPathElementpublic ProtectionDomain getProtectionDomain(ClassLoader classLoader)
public void close()
throws IOException
IOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.