Class DBeaverFormatterWrapper

java.lang.Object
de.funfried.netbeans.plugins.external.formatter.sql.dbeaver.DBeaverFormatterWrapper

public final class DBeaverFormatterWrapper extends Object
Delegation class to the DBeaver SQL formatter implementation.
Author:
bahlef
  • Method Details

    • format

      @CheckForNull public String format(String code, Properties properties) throws FormattingFailedException
      Formats the given code with the given configurations and returns the formatted code.
      Parameters:
      code - the unformatted SQL code
      properties - Formatting Options as Properties
      Returns:
      the formatted SQL code
      Throws:
      FormattingFailedException - if the external formatter failed to format the given code