aQute.lib.justif
Class Justif
java.lang.Object
aQute.lib.justif.Justif
public class Justif
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Justif
public Justif(int width,
int... tabs)
Justif
public Justif()
wrap
public void wrap(StringBuilder sb)
- Routine to wrap a stringbuffer. Basically adds line endings but has the
following control characters:
- Space at the beginnng of a line is repeated when wrapped for indent.
- A tab will mark the current position and wrapping will return to that
position
- A form feed in a tabbed colum will break but stay in the column
- Parameters:
sb -
wrap
public String wrap()
formatter
public Formatter formatter()
Copyright © 2013 aQute SARL. All Rights Reserved.