public class JavaBeanParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
load(InputStream io,
Class<T> javabean)
Deprecated.
Parse the first YAML document in a stream and produce the corresponding
JavaBean.
|
static <T> T |
load(Reader io,
Class<T> javabean)
Deprecated.
Parse the first YAML document in a stream and produce the corresponding
Java object.
|
static <T> T |
load(String yaml,
Class<T> javabean)
Deprecated.
Parse the first YAML document in a stream and produce the corresponding
JavaBean.
|
public static <T> T load(String yaml, Class<T> javabean)
yaml - YAML documentjavabean - JavaBean class to be parsedpublic static <T> T load(InputStream io, Class<T> javabean)
io - data to load from (BOM is respected and removed)javabean - JavaBean class to be parsedCopyright © 2008-2012. All Rights Reserved.