public class JavaCodeFormatter extends Object implements ContentProcessor
| Constructor and Description |
|---|
JavaCodeFormatter()
Creates a JavaCodeFormatter using the default formatter options.
|
JavaCodeFormatter(Map<String,Object> overrideOptions)
Creates a JavaCodeFormatter using the default formatter options and
optionally applying user provided options on top.
|
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String contents) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchainandThen, compose, identitypublic JavaCodeFormatter()
public String apply(String contents)
apply in interface ContentProcessorapply in interface java.util.function.Function<String,String>Copyright © 2020. All rights reserved.