public class PathResolver extends Object implements SinglePathResolver
Constructor and Description |
---|
PathResolver() |
Modifier and Type | Method and Description |
---|---|
void |
addSinglePathResolver(int index,
SinglePathResolver resolver)
Add a resolver that will be used in all resolves
|
void |
addSinglePathResolver(SinglePathResolver resolver)
Add a resolver that will be used in all resolves
|
void |
removeSinglePathResolver(SinglePathResolver resolver) |
VirtualFile |
resolve(SinglePathResolver[] resolvers,
String pathStr)
Resolve the current file, checking the passed in resolvers first
|
VirtualFile |
resolve(SinglePathResolver resolver,
String pathStr)
Resolve the current file, checking the passed in resolver first
|
VirtualFile |
resolve(String pathStr)
Resolve the current file used the registered SinglePathResolvers
|
public VirtualFile resolve(String pathStr)
resolve
in interface SinglePathResolver
public VirtualFile resolve(SinglePathResolver resolver, String pathStr)
public VirtualFile resolve(SinglePathResolver[] resolvers, String pathStr)
public void addSinglePathResolver(SinglePathResolver resolver)
public void addSinglePathResolver(int index, SinglePathResolver resolver)
public void removeSinglePathResolver(SinglePathResolver resolver)
Copyright © 2016 The Apache Software Foundation. All rights reserved.