code: public static <T extends ContentMeta> T withText(String text, Map<String, String> meta, ContentFactory<T> factory) {
          return factory.create(lazyStream(new ByteArrayInputStream(text.getBytes())), meta);
      }
docs: Returns a read-only FileMeta from the input source
  
  @param text text data
  @param meta meta data
  @param factory factory
  @param <T> resource type
  
  @return content