Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.servingxml.components.flatfile.options
Class StartEndDelimiterByteChecker

    java.lang.Object
      com.servingxml.components.flatfile.options.StartEndDelimiterByteChecker

All Implemented Interfaces:
  DelimiterByteChecker

    public class StartEndDelimiterByteChecker

extends java.lang.Object
implements DelimiterByteChecker

Field Summary

Fields inherited from interface com.servingxml.components.flatfile.options.DelimiterByteChecker
`EMPTY_DELIMITER_CHECKER_ARRAY, NULL`

Constructor Summary
`StartEndDelimiterByteChecker(byte[] startValue, byte[] endValue)`

Method Summary
`int` | `foundEndDelimiter(byte[] data, int start, int length)`
`boolean` | `foundEndDelimiter(ByteBuffer recordBuffer, ByteArrayBuilder byteArrayBuilder)`
`boolean` | `testContinuation(ByteBuffer recordBuffer, ByteArrayBuilder byteArrayBuilder)`
`int` | `testStart(byte[] data, int start, int length)`
`boolean` | `testStart(ByteBuffer recordBuffer, ByteArrayBuilder byteArrayBuilder)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StartEndDelimiterByteChecker

    public StartEndDelimiterByteChecker(byte[] startValue,
                                        byte[] endValue)

Method Detail

### testStart

    public boolean testStart(ByteBuffer recordBuffer,
                             ByteArrayBuilder byteArrayBuilder)
                      throws java.io.IOException

  Specified by:
    `testStart` in interface `DelimiterByteChecker`
  Throws:
    `java.io.IOException`

### foundEndDelimiter

    public boolean foundEndDelimiter(ByteBuffer recordBuffer,
                                     ByteArrayBuilder byteArrayBuilder)
                              throws java.io.IOException

  Specified by:
    `foundEndDelimiter` in interface `DelimiterByteChecker`
  Throws:
    `java.io.IOException`

### testStart

    public final int testStart(byte[] data,
                               int start,
                               int length)

  Specified by:
    `testStart` in interface `DelimiterByteChecker`

### foundEndDelimiter

    public final int foundEndDelimiter(byte[] data,
                                       int start,
                                       int length)

  Specified by:
    `foundEndDelimiter` in interface `DelimiterByteChecker`

### testContinuation

    public final boolean testContinuation(ByteBuffer recordBuffer,
                                          ByteArrayBuilder byteArrayBuilder)
                                   throws java.io.IOException

  Specified by:
    `testContinuation` in interface `DelimiterByteChecker`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD