| Modifier and Type | Method and Description |
|---|---|
static LineEnding |
LineEnding.determineLineEnding(String fileDataString)
Returns the most occurring line-ending characters in the file text or null if no line-ending occurs the most.
|
static LineEnding |
LineEnding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineEnding[] |
LineEnding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
AbstractCacheableFormatter.doFormat(String code,
LineEnding ending) |
Result |
Formatter.formatFile(File file,
LineEnding ending,
boolean dryRun)
Format individual file.
|
Result |
AbstractCacheableFormatter.formatFile(File file,
LineEnding ending,
boolean dryRun) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
CssFormatter.doFormat(String code,
LineEnding ending) |
| Modifier and Type | Method and Description |
|---|---|
String |
HTMLFormatter.doFormat(String code,
LineEnding ending) |
| Modifier and Type | Method and Description |
|---|---|
String |
JavaFormatter.doFormat(String code,
LineEnding ending) |
| Modifier and Type | Method and Description |
|---|---|
String |
JavascriptFormatter.doFormat(String code,
LineEnding ending) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
JsonFormatter.doFormat(String code,
LineEnding ending) |
| Modifier and Type | Method and Description |
|---|---|
String |
JsoupBasedFormatter.doFormat(String code,
LineEnding ending) |
| Modifier and Type | Method and Description |
|---|---|
String |
XMLFormatter.doFormat(String code,
LineEnding ending) |
Copyright © 2010–2018. All rights reserved.