1 package net.staniscia.sbs1; 2 3 /** 4 * Parser Handler 5 */ 6 public interface SBS1ParserHandler { 7 /** 8 * Returns true if this task is completed. Completion may be due to normal termination, an exception, or cancellation -- in all of these cases, this method will return true. 9 * 10 * @return boolean 11 */ 12 boolean isDone(); 13 14 /** 15 * Attempts to cancel execution of this task. 16 */ 17 public void cancel(); 18 }