public interface NameResolver
In some cases, the resolved target file may have need to locate support files of its own (like imported css files). Since those support files should be looked for relative to the target file, NameResolver supports creating new relative NameResolvers.
Modifier and Type | Method and Description |
---|---|
InputStreamProvider |
getProvider(String name)
Given a name, returns an InputStreamProvider.
|
NameResolver |
getResolver(String name)
Return the new NameResolver that should be used to resolve
names relative to a given name.
|
InputStreamProvider getProvider(String name) throws IOException
name
- the name of the targetIOException
NameResolver getResolver(String name)
name
- the name of the targetCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.