package org.getopt.pcl5.PJLInterpreter.cmd; import java.io.IOException; import java.io.InputStream; import org.getopt.pcl5.PrinterState; /** * Base class to handle Esc command Main reason for this class is to create * dinstinct type of commands * * @author Piotrm */ public class EscCommandPJL extends BaseCommandPJL { /** * @param printerState */ public EscCommandPJL(PrinterState printerState) { super(printerState); } /** * Main method class, it should check in can interpret command and interpret * one * * @param cmd * Command code (after Esc ( ) * @param in * Input stream for reading parameters * * @return should return true if handled else false * * @throws IOException */ public boolean execute(char cmd, InputStream in) throws IOException { return false; } }