@Deprecated public class SqlCommentScrubber extends Object
Modifier and Type | Field and Description |
---|---|
static int |
EOF
Deprecated.
End-of-File (EOF) indicator
|
static int |
EOL
Deprecated.
End-of-Line (EOL) indicator
|
Modifier and Type | Method and Description |
---|---|
static String |
removeComments(String text)
Deprecated.
This method will remove SQL comments (both multi-line and single-line) from a string representing a SQL query.
|
public static final int EOF
public static final int EOL
public static String removeComments(String text)
text
- a string representing the SQL query to parse and from which to remove comments