org.jboss.classloading.plugins.vfs
Class VFSResourceContext
java.lang.Object
org.jboss.classloading.plugins.visitor.AbstractResourceContext
org.jboss.classloading.plugins.vfs.VFSResourceContext
- All Implemented Interfaces:
- ResourceContext
public class VFSResourceContext
- extends AbstractResourceContext
VFS resource context.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VFSResourceContext
public VFSResourceContext(org.jboss.virtual.VirtualFile file,
String resourceName,
ClassLoader classLoader)
getUrl
public URL getUrl()
- Description copied from interface:
ResourceContext
- Get the url.
- Returns:
- the url.
getInputStream
public InputStream getInputStream()
throws IOException
- Description copied from class:
AbstractResourceContext
- Get the input stream for the resource
- Specified by:
getInputStream
in interface ResourceContext
- Overrides:
getInputStream
in class AbstractResourceContext
- Returns:
- the input stream
- Throws:
IOException
- for any error
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.