/plugins/JCalculator/trunk/org/DFish/tools/calculator/helper/DefaultHandler.java

# · Java · 37 lines · 19 code · 10 blank · 8 comment · 0 complexity · 228073727d3b70f55a8d765ff512c4a8 MD5 · raw file

  1. package org.DFish.tools.calculator.helper;
  2. public class DefaultHandler implements CalculatorHandler {
  3. public void endFormula() throws Exception {
  4. //do nothing
  5. }
  6. public void error(String message) throws Exception {
  7. //do nothing
  8. }
  9. public void fatalError(String message) {
  10. //do nothing
  11. }
  12. public void operator(CalculatorOperator operator) throws Exception {
  13. //do nothing
  14. }
  15. public void startFormula(String formula) throws Exception {
  16. //do nothing
  17. }
  18. public void blank(char c) {
  19. // do nothing
  20. }
  21. public void number(Number n) throws Exception {
  22. //do nothing
  23. }
  24. public void currentPosition(int begin, int end) {
  25. //do nothing
  26. }
  27. }