org.crsh.cli.impl.lang
Class Util
java.lang.Object
org.crsh.cli.impl.lang.Util
-
public class Util
- extends Object
-
Constructor Summary |
Util()
|
Method Summary |
private static String |
_tab(int size)
|
static
|
indent(int tab, CharSequence s, A appendable)
|
static
|
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
|
tuples(Class<T> type, Iterable<? extends T>... iterables)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDENT_PATTERN
static final Pattern INDENT_PATTERN
-
.
MAN_TAB
public static final String MAN_TAB
-
.
MAN_TAB_EXTRA
public static final String MAN_TAB_EXTRA
-
.
tabIndex
static final String[] tabIndex
-
.
Util
public Util()
tab
static String tab(int size)
-
_tab
private static String _tab(int size)
-
indent
public static <A extends Appendable> A indent(int tab,
CharSequence s,
A appendable)
throws IOException
-
- Throws:
IOException
indent
public static <A extends Appendable> A indent(String tab,
CharSequence s,
A appendable)
throws IOException
-
- Throws:
IOException
tuples
public static <T> Iterable<T[]> tuples(Class<T> type,
Iterable<? extends T>... iterables)
-
join
public static <T> Iterable<? extends T> join(Iterable<? extends T>... iterables)
-
Copyright © 2014 eXo Platform SAS. All Rights Reserved.