Interface CodeFormatterFactory


public interface CodeFormatterFactory
Author:
Réda Housni Alaoui
  • Method Details

    • configurationId

      String configurationId()
      The prefix that will be used by the plugin user to configure formatters created by this factory.

      e.g. If the prefix was 'fooBar', a configuration attribute named 'baz' would have to be declared as 'fooBar.baz' in the plugin configuration.

    • build

      CodeFormatter build(CodeFormatterConfiguration configuration, String sourceEncoding)
      Parameters:
      configuration - This code formatter factory configuration
      sourceEncoding - The files source encoding
      Returns:
      The formatter to use