public interface Formatter
| Modifier and Type | Method and Description |
|---|---|
Result |
formatFile(File file,
LineEnding ending,
boolean dryRun)
Format individual file.
|
void |
init(Map<String,String> options,
ConfigurationSource cfg)
Initialize the
CodeFormatter instance to be used by this component. |
boolean |
isInitialized()
return true if this formatter have been initialized
|
void init(Map<String,String> options, ConfigurationSource cfg)
CodeFormatter instance to be used by this component.Result formatFile(File file, LineEnding ending, boolean dryRun)
boolean isInitialized()
Copyright © 2010–2018. All rights reserved.