Class AbstractCommentParser
java.lang.Object
org.sql2o.quirks.parameterparsing.impl.AbstractCommentParser
- All Implemented Interfaces:
CharParser
- Direct Known Subclasses:
DoubleHyphensCommentParser
,ForwardSlashCommentParser
Created by lars on 22.09.2014.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
abstract boolean
isEndComment
(char c) int
parse
(char c, int idx, StringBuilder parsedSql, String sql, int length) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.sql2o.quirks.parameterparsing.impl.CharParser
canParse
-
Constructor Details
-
AbstractCommentParser
public AbstractCommentParser()
-
-
Method Details
-
init
protected void init() -
parse
- Specified by:
parse
in interfaceCharParser
-
isEndComment
public abstract boolean isEndComment(char c)
-