Package org.harctoolbox.irp
Class CodeGenerator
java.lang.Object
org.harctoolbox.irp.CodeGenerator
- Direct Known Subclasses:
DumpCodeGenerator,STCodeGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
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)
-