org.jboss.virtual.plugins.context.vfs
Class AssembledFileHandler
java.lang.Object
org.jboss.virtual.plugins.context.AbstractVirtualFileHandler
org.jboss.virtual.plugins.context.DelegatingHandler
org.jboss.virtual.plugins.context.vfs.AssembledFileHandler
- All Implemented Interfaces:
- Serializable, VirtualFileHandler
public class AssembledFileHandler
- extends DelegatingHandler
The assembled file handler.
- Version:
- $Revision: 1.1 $
- Author:
- Bill Burke, Ales Justin
- See Also:
- Serialized Form
Methods inherited from class org.jboss.virtual.plugins.context.DelegatingHandler |
cleanup, close, delete, equals, exists, getDelegate, getLastModified, getRealURL, getSize, hashCode, internalReplaceChild, isArchive, isHidden, isLeaf, isNested, openStream, removeChild, setDelegate, setVfsUrl, toURI, toURL, toVfsUrl |
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVirtualFileHandler |
checkClosed, checkParentExists, decrement, doClose, getChildPathName, getChildVfsUrl, getLocalPathName, getLocalVFSContext, getName, getParent, getPathName, getReferences, getVFSContext, getVfsUrl, getVirtualFile, hasBeenModified, increment, isTemporary, replaceChild, setPathName, simpleFindChild, structuredFindChild, toInternalVfsUrl, toString, toStringLocal |
AssembledFileHandler
public AssembledFileHandler(VFSContext context,
AssembledDirectoryHandler parent,
String name,
VirtualFileHandler delegate)
throws IOException
- Throws:
IOException
getChildren
public List<VirtualFileHandler> getChildren(boolean ignoreErrors)
throws IOException
- Description copied from interface:
VirtualFileHandler
- Get the children
- Specified by:
getChildren
in interface VirtualFileHandler
- Overrides:
getChildren
in class DelegatingHandler
- Parameters:
ignoreErrors
- whether to ignore errors
- Returns:
- the children
- Throws:
IOException
- for an error accessing the file system
getChild
public VirtualFileHandler getChild(String path)
throws IOException
- Description copied from interface:
VirtualFileHandler
- Get a child
- Specified by:
getChild
in interface VirtualFileHandler
- Overrides:
getChild
in class DelegatingHandler
- Parameters:
path
- the path
- Returns:
- the child or
null
if not found
- Throws:
IOException
- for an error accessing the file system
Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.