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:
- Ales Justin, Bill Burke
- See Also:
- Serialized Form
| Methods inherited from class org.jboss.virtual.plugins.context.AbstractVirtualFileHandler |
checkClosed, checkParentExists, close, decrement, doClose, equals, getChildPathName, getChildVfsUrl, getName, getParent, getPathName, getVFSContext, getVfsUrl, getVirtualFile, hasBeenModified, hashCode, increment, setPathName, setVfsUrl, simpleFindChild, structuredFindChild, toString, toVfsUrl |
AssembledFileHandler
public AssembledFileHandler(AssembledContext 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 © 2008 JBoss, A division of Red Hat, Inc. All Rights Reserved.