public class Yaml
extends java.lang.Object
Constructor and Description |
---|
Yaml() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
load(java.io.InputStream is,
java.lang.ClassLoader classloader)
Load the specified InputStream as Yaml.
|
static java.lang.Object |
load(java.lang.String resourceName)
Load a Yaml file from the classpath.
|
public static java.lang.Object load(java.lang.String resourceName)
public static java.lang.Object load(java.io.InputStream is, java.lang.ClassLoader classloader)
classloader
- The classloader to use to instantiate Java objects.