Maybe getInput should be getRawInput and inputToContent should be formatInput or processInput.