public class AntlrToolFacade
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
className |
Constructor and Description |
---|
AntlrToolFacade() |
Modifier and Type | Method and Description |
---|---|
boolean |
download() |
protected java.io.File |
file() |
protected java.lang.Class<?> |
getToolClass() |
protected java.lang.String |
getToolRunnerClassName() |
boolean |
isWorkable() |
void |
runWithEncodingAndParams(java.lang.String grammarFullPath,
java.lang.String explicitEncoding,
java.lang.String... furtherArgs) |
void |
runWithParams(java.lang.String grammarFullPath,
java.lang.String... furtherArgs)
Deprecated.
use runWithEncodingAndParams(grammar, encoding, args) instead
|
void |
setAskBeforeDownload(boolean shouldAsk) |
void |
setDownloadFrom(java.lang.String downloadURL) |
void |
setDownloadTo(java.lang.String path) |
void |
setLoader(java.lang.ClassLoader loader) |
public static final java.lang.String className
public void setLoader(java.lang.ClassLoader loader)
public void setAskBeforeDownload(boolean shouldAsk)
public void setDownloadFrom(java.lang.String downloadURL)
public void setDownloadTo(java.lang.String path)
protected java.io.File file()
protected java.lang.String getToolRunnerClassName()
protected java.lang.Class<?> getToolClass()
public boolean download()
@Deprecated public void runWithParams(java.lang.String grammarFullPath, java.lang.String... furtherArgs)
public void runWithEncodingAndParams(java.lang.String grammarFullPath, java.lang.String explicitEncoding, java.lang.String... furtherArgs)
public boolean isWorkable()