public static FileReader createFileReader ( String className , LogFilePath logFilePath , CompressionCodec codec , SecorConfig config ) throws Exception { return createFileReaderWriterFactory ( className , config ) . BuildFileReader ( logFilePath , codec ) ; }
Use the FileReaderWriterFactory specified by className to build a FileReader