org.dmonix.jdbc
Class SQLDebugUtil
java.lang.Object
org.dmonix.jdbc.SQLDebugUtil
- public abstract class SQLDebugUtil
- extends java.lang.Object
Copyright: Copyright (c) 2004
Company: dmonix.org
- Version:
- 1.0
- Author:
- Peter Nerg
|
Method Summary |
static void |
printResultSet(java.sql.ResultSet rs,
java.io.OutputStream ostream)
|
static void |
printResultSet(java.sql.ResultSet rs,
java.io.Writer writer)
|
static java.lang.String |
resultSetToString(java.sql.ResultSet rs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAB
public static final java.lang.String TAB
- See Also:
- Constant Field Values
TAB_BYTE
public static final byte TAB_BYTE
NEW_LINE
public static final java.lang.String NEW_LINE
- See Also:
- Constant Field Values
NEW_LINE_BYTE
public static final byte NEW_LINE_BYTE
SQLDebugUtil
public SQLDebugUtil()
printResultSet
public static void printResultSet(java.sql.ResultSet rs,
java.io.OutputStream ostream)
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
printResultSet
public static void printResultSet(java.sql.ResultSet rs,
java.io.Writer writer)
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
resultSetToString
public static java.lang.String resultSetToString(java.sql.ResultSet rs)
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
Copyright © 1998-2005 dmonix.org Peter Nerg, All Rights Reserved.