play.libs
Class Yaml

java.lang.Object
  extended by play.libs.Yaml

public class Yaml
extends java.lang.Object

Yaml utilities.


Constructor Summary
Yaml()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Yaml

public Yaml()
Method Detail

load

public static java.lang.Object load(java.lang.String resourceName)
Load a Yaml file from the classpath.


load

public static java.lang.Object load(java.io.InputStream is,
                                    java.lang.ClassLoader classloader)
Load the specified InputStream as Yaml.

Parameters:
classloader - The classloader to use to instantiate Java objects.