com.finalist.tools.database
Class SqlPretty

java.lang.Object
  extended bycom.finalist.tools.database.SqlPretty

public class SqlPretty
extends java.lang.Object

Utility class to indent queries and insert newlines usage: create new object with string to format, and call toString on the object.

Author:
mdemare

Constructor Summary
SqlPretty(java.lang.String sql)
          Constructor for the SqlPretty object
 
Method Summary
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlPretty

public SqlPretty(java.lang.String sql)
Constructor for the SqlPretty object

Parameters:
sql - query string to format
Method Detail

toString

public java.lang.String toString()
Description of the Method

Returns:
Description of the Return Value


Copyright © 2003-2004 SourceForge. All Rights Reserved.