io.craft.atom.protocol.textline.api
Class TextLineCodecFactory

java.lang.Object
  extended by io.craft.atom.protocol.textline.api.TextLineCodecFactory

public class TextLineCodecFactory
extends Object

TextLine codec factory, which provides static factory method to create ProtocolEncoder and ProtocolDecoder.

Version:
1.0, Aug 4, 2014
Author:
mindwind

Constructor Summary
TextLineCodecFactory()
           
 
Method Summary
static ProtocolDecoder<String> newTextLineDecoder(Charset charset, String delimiter)
           
static TextLineDecoderBuilder newTextLineDecoderBuilder(Charset charset, String delimiter)
           
static ProtocolEncoder<String> newTextLineEncoder(Charset charset, String delimiter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextLineCodecFactory

public TextLineCodecFactory()
Method Detail

newTextLineEncoder

public static ProtocolEncoder<String> newTextLineEncoder(Charset charset,
                                                         String delimiter)

newTextLineDecoder

public static ProtocolDecoder<String> newTextLineDecoder(Charset charset,
                                                         String delimiter)

newTextLineDecoderBuilder

public static TextLineDecoderBuilder newTextLineDecoderBuilder(Charset charset,
                                                               String delimiter)


Copyright © 2014. All Rights Reserved.