class IndexYamlBuilder {

  public TempBlob build(final ChartIndex index, final StorageFacet storageFacet) {
    return new StreamCopier<>(os -> readIntoYaml(os, index), is -> createTempBlob(is, storageFacet)).read();
  }

  @Inject public  IndexYamlBuilder(final YamlParser yamlParser);

}