Interface BoundaryScanner

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int findEndOffset​(java.lang.StringBuilder buffer, int start)
      Scan forward to find start offset.
      int findStartOffset​(java.lang.StringBuilder buffer, int start)
      Scan backward to find end offset.
    • Method Detail

      • findStartOffset

        int findStartOffset​(java.lang.StringBuilder buffer,
                            int start)
        Scan backward to find end offset.
        Parameters:
        buffer - scanned object
        start - start offset to begin
        Returns:
        the found start offset
      • findEndOffset

        int findEndOffset​(java.lang.StringBuilder buffer,
                          int start)
        Scan forward to find start offset.
        Parameters:
        buffer - scanned object
        start - start offset to begin
        Returns:
        the found end offset