code: public static CacheableYamlSource sourceFromStream(
          final String identity,
          final InputStream stream,
          final Date modified,
          final ValidationSet validationSet
      )
      {
          return new CacheableYamlStreamSource(stream, identity, modified, validationSet);
      }
docs: Source from a stream
  
  @param identity identity
  @param stream   stream
  @param modified date the content was last modified, for caching purposes
  
  @param validationSet
  @return source