org.jboss.virtual.plugins.context.file
Class FileSystemContextFactory
java.lang.Object
org.jboss.virtual.plugins.context.AbstractContextFactory
org.jboss.virtual.plugins.context.file.FileSystemContextFactory
- All Implemented Interfaces:
- VFSContextFactory
public class FileSystemContextFactory
- extends AbstractContextFactory
A file system context factory
- Version:
- $Revision: 44217 $
- Author:
- Scott.Stark@jboss.org, adrian@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemContextFactory
public FileSystemContextFactory()
getVFS
public VFSContext getVFS(URL root)
throws IOException
- Description copied from interface:
VFSContextFactory
- Obtain a vfs context for the given root url.
- Parameters:
root
- - the URL for the root of the virtual context
- Returns:
- the vfs context
- Throws:
IOException
- - thrown if the root cannot be opened/accessed
getVFS
public VFSContext getVFS(URI root)
throws IOException
- Description copied from interface:
VFSContextFactory
- Obtain a vfs context for the given root uri.
- Parameters:
root
- - the URI for the root of the virtual context
- Returns:
- the vfs context
- Throws:
IOException
- - thrown if the root cannot be opened/accessed
Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.