public interface IResourceVisitor
Modifier and Type | Interface and Description |
---|---|
static interface |
IResourceVisitor.Resource
Defines the interface for a resource item that is visited by the tree
walker.
|
Modifier and Type | Method and Description |
---|---|
boolean |
visitResource(IResourceVisitor.Resource resource,
String pathName)
This method is called by
IResource.walkTree(IResourceVisitor)
for both folder and non-folder resources encountered while walking the
folder tree rooted at resource that walkTree was called on. |
boolean visitResource(IResourceVisitor.Resource resource, String pathName) throws IOException
IResource.walkTree(IResourceVisitor)
for both folder and non-folder resources encountered while walking the
folder tree rooted at resource that walkTree was called on.resource
- The non-folder resource being visited.pathName
- The path name of this resource relative to the location of the
resource that walkTree was called on.IOException
Copyright © 2011-2015 IBM. All Rights Reserved.