class YamlUtil {

  public static <T> T load(final URL resource, final Class<T> clazz) {
    try {
      return mapper.readValue(resource, clazz);
    } catch (IOException ioe) {
      throw new YamlLoadException(ioe);
    }
  }

  private  YamlUtil();

}