public class DBUtils extends Object
| Constructor and Description |
|---|
DBUtils() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
quote(String string)
Produce a string in double quotes with backslash sequences in all the
right places.
|
static String |
toJSon(ResultSet resultSet) |
static String |
toJSon(ResultSet resultSet,
int start,
int end) |
static String |
toJSon(ResultSet resultSet,
Long count) |
public static String toJSon(ResultSet resultSet) throws SQLException
SQLExceptionprotected static String quote(String string)
string - A Stringpublic static String toJSon(ResultSet resultSet, int start, int end) throws SQLException
SQLExceptionpublic static String toJSon(ResultSet resultSet, Long count) throws SQLException
SQLExceptionCopyright © 2017. All Rights Reserved.