private SchemaContext parseSchemas(Collection<InputStream> schemas) throws IOException, YangSyntaxErrorException { final YangParserImpl parser = new YangParserImpl(); Collection<ByteSource> sources = BuilderUtils.streamsToByteSources(schemas); return parser.parseSources(sources); }