io.github.benas.easybatch.tutorials.parallel
Class MessageEncrypter

java.lang.Object
  extended by io.github.benas.easybatch.core.api.AbstractRecordProcessor<StringRecord>
      extended by 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)


Constructor Summary
MessageEncrypter()
           
 
Method Summary
 void processRecord(StringRecord record)
           
 
Methods inherited from class io.github.benas.easybatch.core.api.AbstractRecordProcessor
getEasyBatchResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageEncrypter

public MessageEncrypter()
Method Detail

processRecord

public void processRecord(StringRecord record)
                   throws Exception
Throws:
Exception


Copyright © 2014. All Rights Reserved.