org.dmonix.jdbc
Class SQLDebugUtil

java.lang.Object
  extended byorg.dmonix.jdbc.SQLDebugUtil

public abstract class SQLDebugUtil
extends java.lang.Object

Copyright: Copyright (c) 2004

Company: dmonix.org

Version:
1.0
Author:
Peter Nerg

Field Summary
static java.lang.String NEW_LINE
           
static byte NEW_LINE_BYTE
           
static java.lang.String TAB
           
static byte TAB_BYTE
           
 
Constructor Summary
SQLDebugUtil()
           
 
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
 

Field Detail

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
Constructor Detail

SQLDebugUtil

public SQLDebugUtil()
Method Detail

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.