Package org.harctoolbox.irp
Class CodeGenerator
java.lang.Object
org.harctoolbox.irp.CodeGenerator
- Direct Known Subclasses:
DumpCodeGenerator
,STCodeGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
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
boolean
newItemCodeGenerator
(Object object) abstract ItemCodeGenerator
newItemCodeGenerator
(String name) abstract void
setInspect
(boolean inspect)
-
Constructor Details
-
CodeGenerator
public CodeGenerator()
-
-
Method Details
-
newItemCodeGenerator
-
newItemCodeGenerator
-
render
-
fileName
-
isAbstract
public boolean isAbstract() -
manyProtocolsInOneFile
public boolean manyProtocolsInOneFile() -
generate
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 -
generate
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- Throws:
IrpInvalidArgumentException
-
setInspect
public abstract void setInspect(boolean inspect)
-