public class IlvMapDataPathManager extends Object
IlvMapDataPathResolver
s
to resolve paths.
This set is managed as a singleton used by the load-on-demand mechanism of
JViews Maps.IlvMapDataPathResolver
Modifier and Type | Method and Description |
---|---|
static void |
AddDataPathResolver(IlvMapDataPathResolver resolver)
Adds the specified
IlvMapDataPathResolver to the data path
manager. |
static Enumeration |
GetDataPathResolvers()
Returns an enumeration of the resolvers contained in the data path
manager.
|
static boolean |
RemoveDataPathResolver(IlvMapDataPathResolver resolver)
Removes the specified
IlvMapDataPathResolver from the data
path manager. |
static String |
ResolvePath(String filename)
Resolves the specified filename using the registered resolvers.
|
static URL |
ResolveURL(String urlname)
Resolves the specified URL name using the registered resolvers.
|
public static void AddDataPathResolver(IlvMapDataPathResolver resolver)
IlvMapDataPathResolver
to the data path
manager.resolver
- The IlvMapDataPathResolver
.public static boolean RemoveDataPathResolver(IlvMapDataPathResolver resolver)
IlvMapDataPathResolver
from the data
path manager.resolver
- The IlvMapDataPathResolver
.true
if the data path manager contained the specified
resolver.public static Enumeration GetDataPathResolvers()
Enumeration
of the resolvers.public static String ResolvePath(String filename)
filename
is an absolute path name, and the file exists,
filename
is returned.filename
- The relative path of the filename.null
if the resolution failed.© Copyright Rogue Wave Software, Inc. 1997, 2015. All Rights Reserved.