public class CompilerInstructionConsumer extends java.lang.Object implements InstructionConsumer
| Constructor and Description |
|---|
CompilerInstructionConsumer(java.io.OutputStream output,
boolean writeLines) |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(RtflInstruction inst)
Takes in instruction
|
void |
finish()
Tells this consumer that it is finished receiving instructions
|
public CompilerInstructionConsumer(java.io.OutputStream output,
boolean writeLines)
public void consume(RtflInstruction inst) throws java.io.IOException
InstructionConsumerconsume in interface InstructionConsumerinst - The instruction to take injava.io.IOException - If dealing with the instruction failspublic void finish()
InstructionConsumerfinish in interface InstructionConsumer