|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.annolab.tt4j.DefaultExecutableResolver
public class DefaultExecutableResolver
Assume that TreeTagger is installed and available in the path.
| Field Summary | |
|---|---|
protected List<String> |
_additionalPaths
|
protected PlatformDetector |
_platform
|
| Constructor Summary | |
|---|---|
DefaultExecutableResolver()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PlatformDetector _platform
protected List<String> _additionalPaths
| Constructor Detail |
|---|
public DefaultExecutableResolver()
| Method Detail |
|---|
public void destroy()
ExecutableResolver
destroy in interface ExecutableResolverpublic void setAdditionalPaths(List<String> aAdditionalPaths)
aAdditionalPaths - list of additional paths.Util.getSearchPaths(List, String)
public String getExecutable()
throws IOException
ExecutableResolver
getExecutable in interface ExecutableResolverIOException - if the file cannot be located/provided.public void setPlatformDetector(PlatformDetector aPlatform)
setPlatformDetector in interface ExecutableResolveraPlatform - the platform information.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||