Class Formatter
- java.lang.Object
-
- com.github.vertical_blank.sqlformatter.core.Formatter
-
public class Formatter extends Object
-
-
Constructor Summary
Constructors Constructor Description Formatter(FormatConfig cfg, Tokenizer tokenizer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format(String query)
Formats whitespaces in a SQL string to make it easier to read.
-
-
-
Constructor Detail
-
Formatter
public Formatter(FormatConfig cfg, Tokenizer tokenizer)
- Parameters:
cfg
- cfg.indent cfg.paramstokenizer
- Tokenizer
-
-