public interface InstructionConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
consume(RtflInstruction instruction)
Takes in instruction
|
void |
finish()
Tells this consumer that it is finished receiving instructions
|
void consume(RtflInstruction instruction) throws java.io.IOException
instruction - The instruction to take injava.io.IOException - If dealing with the instruction failsvoid finish()
throws RuntimeException
RuntimeException - If dealing with the instructions taken in fails