private void getInput(){
		
		String text = "";
		
		try {
			if(input.ready()){
				text = input.readLine();
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		
		if(text!=""){
			processInput(text);
		}
		
	}