| Modifier and Type | Field and Description |
|---|---|
(package private) static Object[] |
EMPTY_ARGS
.
|
(package private) static Pattern |
INDENT_PATTERN
.
|
static String |
MAN_TAB
.
|
static String |
MAN_TAB_EXTRA
.
|
(package private) static String[] |
tabIndex
.
|
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
private static String |
_tab(int size) |
static <A extends Appendable> |
indent(int tab,
CharSequence s,
A appendable) |
static <A extends Appendable> |
indent(String tab,
CharSequence s,
A appendable) |
static <T> Iterable<? extends T> |
join(Iterable<? extends T>... iterables) |
(package private) static String |
tab(int size) |
static <T> Iterable<T[]> |
tuples(Class<T> type,
Iterable<? extends T>... iterables) |
static <T> Instance<T> |
wrap(T object)
Wrap an object with an
Instance. |
static final Object[] EMPTY_ARGS
static final Pattern INDENT_PATTERN
public static final String MAN_TAB_EXTRA
public Util()
public static <A extends Appendable> A indent(int tab, CharSequence s, A appendable) throws IOException
IOExceptionpublic static <A extends Appendable> A indent(String tab, CharSequence s, A appendable) throws IOException
IOExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.