| Package | Description |
|---|---|
| de.vandermeer.skb.base |
Base definitions and interfaces for the SKB.
|
| de.vandermeer.skb.base.utils |
Standard utility classes for the SKB.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Skb_Transformer<Object,T> |
Skb_Transformer.CHAIN(Skb_Transformer<Object,T>... transformers)
Chained transformer.
|
static Skb_Transformer<Object,String> |
Skb_Renderable.OBJECT_TO_RENDERABLE_VALUE()
A transformer that returns a String if a
Readable object was provided. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Skb_Transformer<Object,T> |
Skb_Transformer.CHAIN(Skb_Transformer<Object,T>... transformers)
Chained transformer.
|
| Modifier and Type | Method and Description |
|---|---|
static Skb_Transformer<Object,Integer> |
Skb_Antlr4Utils.ANTLR_TO_COLUMN()
Returns a transformer that takes an object and returns an Integer with column information for ANTLR classes
|
static Skb_Transformer<Object,Integer> |
Skb_Antlr4Utils.ANTLR_TO_LINE()
Returns a transformer that takes an object and returns an Integer with line information for ANTLR classes
|
static Skb_Transformer<Object,String> |
Skb_Antlr4Utils.ANTLR_TO_TEXT()
Returns a transformer that takes an ANTLR object and returns a textual representation of it
|
static <T> Skb_Transformer<T[][],org.apache.commons.lang3.text.StrBuilder> |
Skb_TextUtils.ARRAY_TO_TEXT()
Returns a transformer that takes a 2 dimensional array and transforms it into a textual representation, for instance for debug output.
|
static Skb_Transformer<Collection<?>,String> |
Skb_CollectionUtils.COLLECTION_TO_TEXT()
Returns a transformer that takes a collection and transforms it into a textual representation, for instance for debug output.
|
static Skb_Transformer<String[][],String[][]> |
Skb_ArrayUtils.FLIP_ARRAY()
Returns a transformer that flips table (an array of arrays).
|
static <T> Skb_Transformer<Object,org.apache.commons.lang3.text.StrBuilder> |
Skb_TextUtils.MANYOBJECTS_TO_STRBUILDER(Object separator,
Skb_Transformer<Object,T> toText)
Returns a transformer that takes an iterator and returns a String Builder.
|
static Skb_Transformer<Map<String,?>,String> |
Skb_TextUtils.MAP_TO_TEXT()
Returns a transformer that takes a map and returns a string representation of its contents.
|
static Skb_Transformer<String[][],String[][]> |
Skb_ArrayUtils.NORMALISE_ARRAY(int length)
Returns a transformer that normalises string arrays.
|
static Skb_Transformer<String,Boolean> |
Skb_ObjectUtils.OBJECT_TO_BOOLEAN()
Returns a transformer that takes a string and returns a boolean value, or null.
|
static <T> Skb_Transformer<Object,T> |
Skb_ObjectUtils.OBJECT_TO_TARGET(Class<T> clazz,
T nullValue,
T falseValue,
boolean collFirst)
Type safe transformation from Object to target class, with optional special processing for Object[] and Collections.
|
static Skb_Transformer<Object,String> |
Skb_TextUtils.TO_STRING()
Returns a transformer that takes an object and returns a string.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Skb_Transformer<Object,org.apache.commons.lang3.text.StrBuilder> |
Skb_TextUtils.MANYOBJECTS_TO_STRBUILDER(Object separator,
Skb_Transformer<Object,T> toText)
Returns a transformer that takes an iterator and returns a String Builder.
|
Copyright © 2010–2015. All rights reserved.