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 StartEndDelimiterCharChecker

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

All Implemented Interfaces:
  DelimiterCharChecker

    public class StartEndDelimiterCharChecker

extends java.lang.Object
implements DelimiterCharChecker

Field Summary

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

Constructor Summary
`StartEndDelimiterCharChecker(char[] startValue, char[] endValue)`

Method Summary
`int` | `foundEndDelimiter(char[] data, int start, int length)`
`int` | `foundEndDelimiter(char[] data, int start, int length, TokenReceiver receiver)`
`boolean` | `foundEndDelimiter(CharBuffer recordBuffer, CharArrayBuilder charArrayBuilder)`
`int` | `readEscapedDelimiter(char[] data, int start, int length, CharArrayBuilder charArrayBuilder)`
`boolean` | `readEscapedDelimiter(CharBuffer recordBuffer, CharArrayBuilder charArrayBuilder)`
`boolean` | `testContinuation(CharBuffer recordBuffer, CharArrayBuilder charArrayBuilder)`
`int` | `testStart(char[] data, int start, int length)`
`boolean` | `testStart(CharBuffer recordBuffer, CharArrayBuilder charArrayBuilder)`

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

Constructor Detail

### StartEndDelimiterCharChecker

    public StartEndDelimiterCharChecker(char[] startValue,
                                        char[] endValue)

Method Detail

### testStart

    public boolean testStart(CharBuffer recordBuffer,
                             CharArrayBuilder charArrayBuilder)
                      throws java.io.IOException

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

### foundEndDelimiter

    public boolean foundEndDelimiter(CharBuffer recordBuffer,
                                     CharArrayBuilder charArrayBuilder)
                              throws java.io.IOException

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

### testStart

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

  Specified by:
    `testStart` in interface `DelimiterCharChecker`

### foundEndDelimiter

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

  Specified by:
    `foundEndDelimiter` in interface `DelimiterCharChecker`

### foundEndDelimiter

    public final int foundEndDelimiter(char[] data,
                                       int start,
                                       int length,
                                       TokenReceiver receiver)

  Specified by:
    `foundEndDelimiter` in interface `DelimiterCharChecker`

### readEscapedDelimiter

    public final int readEscapedDelimiter(char[] data,
                                          int start,
                                          int length,
                                          CharArrayBuilder charArrayBuilder)

  Specified by:
    `readEscapedDelimiter` in interface `DelimiterCharChecker`

### readEscapedDelimiter

    public final boolean readEscapedDelimiter(CharBuffer recordBuffer,
                                              CharArrayBuilder charArrayBuilder)
                                       throws java.io.IOException

  Specified by:
    `readEscapedDelimiter` in interface `DelimiterCharChecker`
  Throws:
    `java.io.IOException`

### testContinuation

    public final boolean testContinuation(CharBuffer recordBuffer,
                                          CharArrayBuilder charArrayBuilder)
                                   throws java.io.IOException

  Specified by:
    `testContinuation` in interface `DelimiterCharChecker`
  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