io.github.benas.easybatch.tutorials.parallel
Class MessageEncrypter
java.lang.Object
io.github.benas.easybatch.core.api.AbstractRecordProcessor<StringRecord>
io.github.benas.easybatch.tutorials.parallel.MessageEncrypter
- All Implemented Interfaces:
- RecordProcessor<StringRecord,Object>
public class MessageEncrypter
- extends AbstractRecordProcessor<StringRecord>
A record processor that encrypts record raw text.
(to keep it simple, simply reverse the clear text)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageEncrypter
public MessageEncrypter()
processRecord
public void processRecord(StringRecord record)
throws Exception
- Throws:
Exception
Copyright © 2014. All Rights Reserved.