public <T> T loadType(YamlDecoder dec, Class<T> clazz) { dec.setConfig(this); T ret = null; try { ret = dec.readObjectOfType(clazz); } catch (EOFException e) { } return ret; }
public Object load(YamlDecoder dec) { dec.setConfig(this); Object ret = null; try { ret = dec.readObject(); } catch (EOFException e) { } return ret; }
public <T> YamlStream<T> loadStreamOfType(YamlDecoder dec, Class<T> clazz) { dec.setConfig(this); return dec.asStreamOfType(clazz); }
public YamlStream loadStream(YamlDecoder dec) { dec.setConfig(this); return dec.asStream(); }