com.servingxml.components.flatfile.options
Class CommentStarterByteChecker

java.lang.Object
  extended by com.servingxml.components.flatfile.options.CommentStarterByteChecker
Direct Known Subclasses:
CommentStarterByteCheckerImpl, MultipleCommentStarterChecker

public abstract class CommentStarterByteChecker
extends java.lang.Object


Field Summary
static CommentStarterByteChecker NULL
           
 
Constructor Summary
CommentStarterByteChecker()
           
 
Method Summary
abstract  boolean checkCommentSymbol(ByteBuffer recordBuffer, ByteArrayBuilder byteArrayBuilder)
           
static CommentStarterByteChecker newInstance(java.lang.String commentStarterString, java.nio.charset.Charset charset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final CommentStarterByteChecker NULL
Constructor Detail

CommentStarterByteChecker

public CommentStarterByteChecker()
Method Detail

checkCommentSymbol

public abstract boolean checkCommentSymbol(ByteBuffer recordBuffer,
                                           ByteArrayBuilder byteArrayBuilder)
                                    throws java.io.IOException
Throws:
java.io.IOException

newInstance

public static CommentStarterByteChecker newInstance(java.lang.String commentStarterString,
                                                    java.nio.charset.Charset charset)