CodeFormatter
bean is used to format raw Java code. It indents, word-wraps, and replaces tab characters with an amount of space characters equal to the size of the indentationStep
property. To create and use a CodeFormatter
, you simply instantiate a new CodeFormatter
bean, and invoke formatCode(Reader source, Writer target)
with appropriate arguments.
@version 1.0
@author Matthew J. Duftler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|