public class ToolFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static CodeFormatter |
createCodeFormatter(Map<String,?> options)
Creates an instance of a code formatter.
|
static CodeFormatter |
createDefaultCodeFormatter(Map<String,?> options)
Creates an instance of the built-in code formatter.
|
public static CodeFormatter createCodeFormatter(Map<String,?> options)
options - - the options map to use for formatting with the code formatter. Recognized
options are documented in DefaultCodeFormatterConstants. If set to null,
then use the current settings from CCorePlugin.getOptions().CodeFormatter,
DefaultCodeFormatterConstants,
CCorePlugin.getOptions()public static CodeFormatter createDefaultCodeFormatter(Map<String,?> options)
options - - the options map to use for formatting with the default code formatter.
Recognized options are documented in DefaultCodeFormatterConstants. If set to
null, then use the current settings from CCorePlugin.getOptions().CodeFormatter,
DefaultCodeFormatterConstants,
CCorePlugin.getOptions()Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.