public static List < Profile > fromYaml ( InputStream is ) throws IOException { TypeReference < List < Profile >> typeRef = new TypeReference < List < Profile > > ( ) { } ; return mapper . readValue ( is , typeRef ) ; }
Load a profile from an input stream . This must be in YAML format