org.jboss.virtual.plugins.copy
Class TempContext

java.lang.Object
  extended by org.jboss.virtual.plugins.context.AbstractVFSContext
      extended by org.jboss.virtual.plugins.context.file.FileSystemContext
          extended by org.jboss.virtual.plugins.copy.TempContext
All Implemented Interfaces:
VFSContext

public class TempContext
extends FileSystemContext

Temp context;

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.virtual.plugins.context.file.FileSystemContext
staticLog
 
Fields inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext
log
 
Constructor Summary
TempContext(File file, VFSContext oldContext, String relativePath)
           
 
Method Summary
 void cleanupTempInfo(String path)
          Cleanup all temp infos under path param.
 TempInfo getTempInfo(String path)
          Get exact temp info match.
 
Methods inherited from class org.jboss.virtual.plugins.context.file.FileSystemContext
createVirtualFileHandler, createVirtualFileHandler, exists, getConstraints, getName, getRoot, isForcedCaseSensitive, mountZipFS
 
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVFSContext
addTempInfo, createNewOptions, equals, getChild, getChildren, getChildURL, getExceptionHandler, getFurthestParentTemp, getOption, getOption, getOption, getOptions, getPeerContext, getRootPeer, getRootURI, 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

TempContext

public TempContext(File file,
                   VFSContext oldContext,
                   String relativePath)
            throws IOException,
                   URISyntaxException
Throws:
IOException
URISyntaxException
Method Detail

getTempInfo

public TempInfo getTempInfo(String path)
Description copied from interface: VFSContext
Get exact temp info match.

Specified by:
getTempInfo in interface VFSContext
Overrides:
getTempInfo in class AbstractVFSContext
Parameters:
path - the path to match
Returns:
temp info instance or null if not found

cleanupTempInfo

public void cleanupTempInfo(String path)
Description copied from interface: VFSContext
Cleanup all temp infos under path param.

Specified by:
cleanupTempInfo in interface VFSContext
Overrides:
cleanupTempInfo in class AbstractVFSContext
Parameters:
path - the path to cleanup


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