public class FormatterHelper
extends java.lang.Object
| Constructor and Description |
|---|
FormatterHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
format(java.io.Reader in,
ASFormatter formatter)
Returns the formatted version of the source code
|
static void |
format(java.io.Reader in,
ASFormatter formatter,
java.io.Writer writer)
Returns the formatted version of the source code
|
public static java.lang.String format(java.io.Reader in,
ASFormatter formatter)
in - The reader of the original source code (this reader will be closed)formatter - The formatter to usepublic static void format(java.io.Reader in,
ASFormatter formatter,
java.io.Writer writer)
in - The reader of the original source code (this reader will be closed)formatter - The formatter to usewriter - The writer where thw output will be written