Class DBeaverFormatterWrapper
java.lang.Object
de.funfried.netbeans.plugins.external.formatter.sql.dbeaver.DBeaverFormatterWrapper
Delegation class to the DBeaver SQL formatter implementation.
- Author:
- bahlef
-
Method Summary
Modifier and TypeMethodDescriptionformat
(String code, Properties properties) Formats the givencode
with the given configurations and returns the formatted code.
-
Method Details
-
format
@CheckForNull public String format(String code, Properties properties) throws FormattingFailedException Formats the givencode
with the given configurations and returns the formatted code.- Parameters:
code
- the unformatted SQL codeproperties
- Formatting Options asProperties
- Returns:
- the formatted SQL code
- Throws:
FormattingFailedException
- if the external formatter failed to format the given code
-