|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.format.IlvDefaultDataPathResolver
public class IlvDefaultDataPathResolver
Resolves a relative path name using a specified path.
This default implementation of IlvMapDataPathResolver searches
for a file in a directory.
IlvMapDataPathResolver,
IlvMapDataPathManager| Constructor Summary | |
|---|---|
IlvDefaultDataPathResolver(String basename)
Creates a new data path resolver to find files or URLs in the specified base name. |
|
| Method Summary | |
|---|---|
String |
resolvePath(String filename)
Resolves the specified relative path name. |
URL |
resolveURL(String urlname)
Resolves the specified relative URL name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvDefaultDataPathResolver(String basename)
basename - The absolute path of the directory, or the URL base name in which to
search for files or URLs.| Method Detail |
|---|
public String resolvePath(String filename)
resolvePath in interface IlvMapDataPathResolverfilename - The relative file name to resolve.
null if this resolver
cannot resolve the path.public URL resolveURL(String urlname)
basename
of this IlvDefaultDataPathResolver as a prefix.
For example, given an IlvDefaultDataPathResolver
whose basename is http://www.foo.com,
the urlname "bar" will be resolved as
http://www.foo.com/bar.
resolveURL in interface IlvMapDataPathResolverurlname - The relative URL name to resolve.
null if this resolver
cannot resolve the path.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||