org.jboss.virtual.plugins.context.memory
Class MemoryContext

java.lang.Object
  extended by org.jboss.virtual.plugins.context.AbstractVFSContext
      extended by org.jboss.virtual.plugins.context.memory.MemoryContext
All Implemented Interfaces:
Serializable, VFSContext

public class MemoryContext
extends AbstractVFSContext
implements Serializable

Virtual memory context.

Version:
$Revision: 1.1 $
Author:
Kabir Khan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext
log
 
Constructor Summary
protected MemoryContext(URL url)
           
 
Method Summary
 VirtualFileHandler getRoot()
          Return the root virtual file
 
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext
addOption, equals, getChild, getChildren, getOptions, getRootURI, getVFS, hashCode, toString, visit, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemoryContext

protected MemoryContext(URL url)
                 throws URISyntaxException
Throws:
URISyntaxException
Method Detail

getRoot

public VirtualFileHandler getRoot()
                           throws IOException
Description copied from interface: VFSContext
Return the root virtual file

Specified by:
getRoot in interface VFSContext
Returns:
the root
Throws:
IOException - for any problem accessing the VFS


Copyright © 2008 JBoss, A division of Red Hat, Inc. All Rights Reserved.