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