public class DefaultExecutableResolver extends Object implements ExecutableResolver
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
_additionalPaths |
protected PlatformDetector |
_platform |
| Constructor and Description |
|---|
DefaultExecutableResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy transient resources for the executable file.
|
String |
getExecutable()
Get the executable file.
|
void |
setAdditionalPaths(List<String> aAdditionalPaths)
Set additional paths that will be used for searching the TreeTagger
executable.
|
void |
setPlatformDetector(PlatformDetector aPlatform)
Set platform information.
|
protected PlatformDetector _platform
public void destroy()
ExecutableResolverdestroy in interface ExecutableResolverpublic void setAdditionalPaths(List<String> aAdditionalPaths)
aAdditionalPaths - list of additional paths.Util.getSearchPaths(List, String)public String getExecutable() throws IOException
ExecutableResolvergetExecutable in interface ExecutableResolverIOException - if the file cannot be located/provided.public void setPlatformDetector(PlatformDetector aPlatform)
setPlatformDetector in interface ExecutableResolveraPlatform - the platform information.Copyright © 2014. All Rights Reserved.