public class StringUnmarshaller
extends java.lang.Object
Constructor and Description |
---|
StringUnmarshaller() |
Modifier and Type | Method and Description |
---|---|
static <B> Unmarshaller<java.lang.String,B> |
async(java.util.function.Function<java.lang.String,java.util.concurrent.CompletionStage<B>> f)
Turns the given asynchronous function into an unmarshaller from String to B.
|
static <B> Unmarshaller<java.lang.String,B> |
sync(java.util.function.Function<java.lang.String,B> f)
Turns the given function into an unmarshaller from String to B.
|
public static <B> Unmarshaller<java.lang.String,B> async(java.util.function.Function<java.lang.String,java.util.concurrent.CompletionStage<B>> f)
f
- (undocumented)public static <B> Unmarshaller<java.lang.String,B> sync(java.util.function.Function<java.lang.String,B> f)
f
- (undocumented)