public class RemusCfgTranslator extends CfgTranslator
avcl, outStream, parser| Constructor and Description |
|---|
RemusCfgTranslator(File inFile)
Creates a new instance of RemusCfgTranslator
|
RemusCfgTranslator(File inFile,
File outFile)
Creates a new instance of RemusCfgTranslator
|
RemusCfgTranslator(InputStream inStream)
Creates a new instance of RemusCfgTranslator
|
RemusCfgTranslator(InputStream inStream,
OutputStream outStream)
Creates a new instance of RemusCfgTranslator
|
RemusCfgTranslator(String fileName)
Creates a new instance of RemusCfgTranslator
|
RemusCfgTranslator(String inFile,
String outFile)
Creates a new instance of RemusCfgTranslator
|
| Modifier and Type | Method and Description |
|---|---|
AvclMission |
generateAVCL(ParseNode node)
Converts the parsed vehicle-specific data into AVCL
|
static void |
main(String[] args) |
public RemusCfgTranslator(String fileName) throws FileNotFoundException, Throwable
fileName - path to the file to be parsedFileNotFoundExceptionThrowablepublic RemusCfgTranslator(File inFile) throws FileNotFoundException, Throwable
inFile - File object from which context free grammar instance is to be readFileNotFoundExceptionThrowablepublic RemusCfgTranslator(InputStream inStream) throws Throwable
inStream - InputStream from which context free grammar instance is to be readThrowablepublic RemusCfgTranslator(String inFile, String outFile) throws FileNotFoundException, Throwable
inFile - path to the file to be parsedoutFile - path to the default output fileFileNotFoundExceptionThrowablepublic RemusCfgTranslator(File inFile, File outFile) throws FileNotFoundException, Throwable
inFile - File object from which context free grammar instance is to be readoutFile - File object to which generated AVCL will be marshalled by defaultFileNotFoundExceptionThrowablepublic RemusCfgTranslator(InputStream inStream, OutputStream outStream) throws Throwable
inStream - InputStream from which context free grammar instance is to be readoutStream - Throwablepublic AvclMission generateAVCL(ParseNode node)
generateAVCL in class CfgTranslatornode - portion of the subtree to be translated into AVCLpublic static void main(String[] args)
args -