public interface RelativePathResolver
| Modifier and Type | Field and Description | 
|---|---|
| static String | UIMA_DATAPATH_PROP | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDataPath()Gets the data path used to resolve relative paths. | 
| URL | resolveRelativePath(URL aRelativeUrl)Resolves a relative URL to an absolute URL. | 
| void | setDataPath(String aPath)Sets the data path used to resolve relative paths. | 
| void | setPathResolverClassLoader(ClassLoader aClassLoader)Sets the ClassLoader that should be used to resolve the resources. | 
static final String UIMA_DATAPATH_PROP
String getDataPath()
path.separator character (; on windows, : on
 UNIX). Elements of this path may be absolute or relative file paths.void setDataPath(String aPath) throws MalformedURLException
path.separator character (; on windows, : on
 UNIX). Elements of this path may be absolute or relative file paths.aPath - the data pathMalformedURLException - if a file path could not be converted to a URLURL resolveRelativePath(URL aRelativeUrl)
null is returned.aRelativeUrl - the relative URL to be resolved (if an absolute URL is specified, it will be returned
          unmodified if a file actually exists at the URL; otherwise null will be
          returned).null it none could be found.void setPathResolverClassLoader(ClassLoader aClassLoader)
aClassLoader - the ClassLoader that should be used to resolve the resources.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.