Package org.harctoolbox.irp
Class CodeGenerator
java.lang.Object
org.harctoolbox.irp.CodeGenerator
- Direct Known Subclasses:
- DumpCodeGenerator,- STCodeGenerator
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract Stringvoidgenerate(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) voidgenerate(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) booleanbooleannewItemCodeGenerator(Object object) abstract ItemCodeGeneratornewItemCodeGenerator(String name) abstract voidsetInspect(boolean inspect) 
- 
Constructor Details- 
CodeGeneratorpublic CodeGenerator()
 
- 
- 
Method Details- 
newItemCodeGenerator
- 
newItemCodeGenerator
- 
render
- 
fileName
- 
isAbstractpublic boolean isAbstract()
- 
manyProtocolsInOneFilepublic boolean manyProtocolsInOneFile()
- 
generatepublic 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
- 
generatepublic 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- Throws:
- IrpInvalidArgumentException
 
- 
setInspectpublic abstract void setInspect(boolean inspect) 
 
-