class ConanManifest {

  public static AttributesMap parse(InputStream conanManifestContentStream) {
    AttributesMap attributesMap = new AttributesMap();
    try(BufferedReader reader = new BufferedReader(new InputStreamReader(conanManifestContentStream))) {
      String line;
      while ((line = reader.readLine()) != null) {
        String[] split = line.split(":");
        if (split.length == 2) {
          attributesMap.set(split[0].trim(), split[1].trim());
        }
      }
    } catch (IOException e) {
      LOGGER.warn("Unable to convertKeys manifest file");
    }
    return attributesMap;
  }

}