@Override
        public void run() {
            try {
                //this will block.
                //as soon as it reads anything,
                //set userInterrupted to true and stop
                reader.readLine();
                userInterrupted = true;
            } catch (IOException e) {
                //swallow
            }
        }
Class to watch stdin from the driver for anything that is typed.
This will currently cause an interrupt if anything followed by
a return key is entered.  We may want to add an "Are you sure?" dialogue.
tika-batch/src/main/java/org/apache/tika/batch/BatchProcessDriverCLI.java