@Override public void initializeDriver() { // Where are the input files? String dirName = getParam("japex.inputDir"); if (dirName == null) { throw new RuntimeException("japex.inputFile not specified"); } _inputDir = new File(dirName); if (!_inputDir.exists() || !_inputDir.isDirectory()) { throw new IllegalArgumentException( "No input directory '" + _inputDir.getAbsolutePath() + "'"); } _streaming = getBooleanParam("streaming"); }