public final class TCPStandaloneContext extends Object implements TCPContext
| Constructor and Description |
|---|
TCPStandaloneContext(ClassLoader classloader) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
URL |
getResource(String resource) |
InputStream |
getResourceAsStream(String resource) |
Set<String> |
getResourcePaths(String path) |
void |
setAttribute(String name,
Object value) |
public TCPStandaloneContext(ClassLoader classloader)
public InputStream getResourceAsStream(String resource) throws IOException
getResourceAsStream in interface TCPContextIOExceptionpublic Set<String> getResourcePaths(String path)
getResourcePaths in interface TCPContextpublic URL getResource(String resource)
getResource in interface TCPContextpublic Object getAttribute(String name)
getAttribute in interface TCPContextpublic void setAttribute(String name, Object value)
setAttribute in interface TCPContextCopyright © 2005–2018 Oracle Corporation. All rights reserved.