~andresfib/jeliot3/test

« back to all changes in this revision

Viewing changes to src/jeliot/mcode/input/Prog1ToolsInputHandler.java

  • Committer: jeliot
  • Date: 2007-08-28 10:28:56 UTC
  • Revision ID: cvs-1:jeliot-20070828102856-dawmu5kwrtwq7p3i
Updated input handling to better "support" unsupported methods, e.g, hasNext() -AM

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        return m.getName().equals("readShort");
45
45
    }
46
46
 
 
47
        public boolean isBooleanInputMethod(Method m) {
 
48
                return m.getName().equals("readBoolean");
 
49
        }   
47
50
 
48
51
 
49
52
    public Object handleInput(Class aClass) {
67
70
        throw new NoSuchMethodError("Input Method for class '"+aClass+"' not supported!");
68
71
    }
69
72
 
70
 
 
71
73
}
 
 
b'\\ No newline at end of file'