[Java] Class DefaultInputHandler