Implemented LogProcessor in Java