Package com.cosium.code.format_spi
Interface CodeFormatterFactory
public interface CodeFormatterFactory
- Author:
- Réda Housni Alaoui
-
Method Summary
Modifier and TypeMethodDescriptionbuild(CodeFormatterConfiguration configuration, String sourceEncoding) The prefix that will be used by the plugin user to configure formatters created by this factory.
-
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
- Parameters:
configuration- This code formatter factory configurationsourceEncoding- The files source encoding- Returns:
- The formatter to use
-