public abstract class CodeGenerator extends Object
| Constructor and Description |
|---|
CodeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
fileName(String protocolName) |
void |
generate(Collection<String> protocolNames,
IrpDatabase irpDatabase,
File directory,
boolean inspect,
Map<String,String> parameters,
Double absoluteTolerance,
Double relativeTolerance,
Double frequencyTolerance,
String tool,
String toolVersion,
String commandLine) |
void |
generate(Collection<String> protocolNames,
IrpDatabase irpDatabase,
PrintStream out,
boolean inspect,
Map<String,String> parameters,
Double absoluteTolerance,
Double relativeTolerance,
Double frequencyTolerance,
String tool,
String toolVersion,
String commandLine) |
boolean |
isAbstract() |
boolean |
manyProtocolsInOneFile() |
ItemCodeGenerator |
newItemCodeGenerator(Object object) |
abstract ItemCodeGenerator |
newItemCodeGenerator(String name) |
String |
render(String name) |
abstract void |
setInspect(boolean inspect) |
public abstract ItemCodeGenerator newItemCodeGenerator(String name)
public ItemCodeGenerator newItemCodeGenerator(Object object)
public boolean isAbstract()
public boolean manyProtocolsInOneFile()
public void generate(Collection<String> protocolNames, IrpDatabase irpDatabase, File directory, boolean inspect, Map<String,String> parameters, Double absoluteTolerance, Double relativeTolerance, Double frequencyTolerance, String tool, String toolVersion, String commandLine) throws IOException, UnknownProtocolException, InvalidNameException, UnsupportedRepeatException, NameUnassignedException, IrpInvalidArgumentException
public void generate(Collection<String> protocolNames, IrpDatabase irpDatabase, PrintStream out, boolean inspect, Map<String,String> parameters, Double absoluteTolerance, Double relativeTolerance, Double frequencyTolerance, String tool, String toolVersion, String commandLine) throws IrpInvalidArgumentException
IrpInvalidArgumentExceptionpublic abstract void setInspect(boolean inspect)
Copyright © 2019. All rights reserved.