|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.finalist.tools.database.SqlPretty
Utility class to indent queries and insert newlines usage: create new object with string to format, and call toString on the object.
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 |
public SqlPretty(java.lang.String sql)
sql
- query string to formatMethod Detail |
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |