public abstract class JsoupBasedFormatter extends AbstractCacheableFormatter implements Formatter
encoding, log| Constructor and Description |
|---|
JsoupBasedFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
doFormat(String code,
LineEnding ending) |
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
|
formatFile, initCfgclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatFilepublic void init(Map<String,String> options, ConfigurationSource cfg)
FormatterCodeFormatter instance to be used by this component.init in interface Formatterinit in class AbstractCacheableFormatterpublic String doFormat(String code, LineEnding ending)
doFormat in class AbstractCacheableFormatterpublic boolean isInitialized()
FormatterisInitialized in interface FormatterCopyright © 2010–2018. All rights reserved.