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, Ales Justin
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
 String getName()
          Get the name.
 VirtualFileHandler getRoot()
          Return the root virtual file
 
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext
addTempInfo, cleanupTempInfo, createNewOptions, equals, getChild, getChildren, getChildURL, getConstraints, getExceptionHandler, getFurthestParentTemp, getOption, getOption, getOption, getOptions, getPeerContext, getRootPeer, getRootURI, getTempInfo, getTempInfos, getVFS, hashCode, setExceptionHandler, setOption, setOptionsToURL, setRootPeer, 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

getName

public String getName()
Description copied from interface: VFSContext
Get the name.

Specified by:
getName in interface VFSContext
Returns:
the name

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 © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.