コード例 #1
0
 public final int readEscapedQuoteSymbol(
     char[] data, int start, int length, CharArrayBuilder charArrayBuilder) throws IOException {
   int n = CharArrayHelper.startsWith(data, start, length, escapeSequence);
   if (n > 0) {
     charArrayBuilder.append(data, start + (n - value.length), value.length);
   }
   return n;
 }
コード例 #2
0
 public final boolean foundQuoteSymbol(CharBuffer recordBuffer, CharArrayBuilder charArrayBuilder)
     throws IOException {
   boolean found = recordBuffer.startsWith(value);
   if (found) {
     charArrayBuilder.append(value);
     recordBuffer.next(value.length);
   }
   return found;
 }