public class JsonGrammarExporter extends Object implements GrammarExporter
| Constructor and Description |
|---|
JsonGrammarExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(String directory,
Grammar grammar)
Exports the given grammar in an implementation specific format.
|
public void export(String directory, Grammar grammar) throws IOException
GrammarExporterexport in interface GrammarExporterdirectory - The path to where the grammar data should be exportedgrammar - The grammar that should be exported.IOException - if writing of exported files fails.Copyright © 2019. All rights reserved.