Class JSQLFormatterWrapper
java.lang.Object
de.funfried.netbeans.plugins.external.formatter.sql.jsqlformatter.JSQLFormatterWrapper
Delegation class to the JSQLFormatter implementation.
- Author:
- Andreas Reichel andreas@manticore-projects.com
-
Method Summary
-
Method Details
-
format
Formats the givencode
with the given configurations and returns the formatted code.- Parameters:
code
- the unformatted SQL codeoptions
- an array of Formatting Options expressed as Key=Value pairs- Returns:
- the formatted SQL code
- Throws:
FormattingFailedException
- if the external formatter failed to format the given code
-