org.jboss.virtual.plugins.copy
Class TempContext
java.lang.Object
org.jboss.virtual.plugins.context.AbstractVFSContext
org.jboss.virtual.plugins.context.file.FileSystemContext
org.jboss.virtual.plugins.copy.TempContext
- All Implemented Interfaces:
- VFSContext
public class TempContext
- extends FileSystemContext
Temp context;
- Author:
- Ales Justin
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 |
TempContext
public TempContext(File file,
VFSContext oldContext,
String relativePath)
throws IOException,
URISyntaxException
- Throws:
IOException
URISyntaxException
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 © 2009 JBoss, A division of Red Hat, Inc. All Rights Reserved.