public class VFSResourceLoader
extends org.jboss.modules.AbstractResourceLoader
implements org.jboss.modules.IterableResourceLoader
| Constructor and Description |
|---|
VFSResourceLoader(String rootName,
org.jboss.vfs.VirtualFile root)
Construct new instance.
|
VFSResourceLoader(String rootName,
org.jboss.vfs.VirtualFile root,
boolean usePhysicalCodeSource)
Construct new instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.jboss.modules.ClassSpec |
getClassSpec(String name) |
org.jboss.modules.filter.PathFilter |
getExportFilter() |
String |
getLibrary(String name) |
org.jboss.modules.PackageSpec |
getPackageSpec(String name) |
Collection<String> |
getPaths() |
org.jboss.modules.Resource |
getResource(String name) |
String |
getRootName() |
Iterator<org.jboss.modules.Resource> |
iterateResources(String startPath,
boolean recursive) |
public VFSResourceLoader(String rootName, org.jboss.vfs.VirtualFile root) throws IOException
rootName - The module root nameroot - The root virtual fileIOException - if the manifest could not be read or the root URL is invalidpublic VFSResourceLoader(String rootName, org.jboss.vfs.VirtualFile root, boolean usePhysicalCodeSource) throws IOException
rootName - The module root nameroot - The root virtual fileusePhysicalCodeSource - true to use the physical root URL for code sources, false to use the VFS URLIOException - if the manifest could not be read or the root URL is invalidpublic org.jboss.modules.ClassSpec getClassSpec(String name) throws IOException
getClassSpec in interface org.jboss.modules.ResourceLoadergetClassSpec in class org.jboss.modules.AbstractResourceLoaderIOExceptionpublic org.jboss.modules.PackageSpec getPackageSpec(String name) throws IOException
getPackageSpec in interface org.jboss.modules.ResourceLoadergetPackageSpec in class org.jboss.modules.AbstractResourceLoaderIOExceptionpublic String getLibrary(String name)
getLibrary in interface org.jboss.modules.ResourceLoadergetLibrary in class org.jboss.modules.AbstractResourceLoaderpublic String getRootName()
getRootName in interface org.jboss.modules.ResourceLoadergetRootName in class org.jboss.modules.AbstractResourceLoaderpublic org.jboss.modules.filter.PathFilter getExportFilter()
public org.jboss.modules.Resource getResource(String name)
getResource in interface org.jboss.modules.ResourceLoadergetResource in class org.jboss.modules.AbstractResourceLoaderpublic Collection<String> getPaths()
getPaths in interface org.jboss.modules.ResourceLoadergetPaths in class org.jboss.modules.AbstractResourceLoaderCopyright © 2016 JBoss by Red Hat. All rights reserved.