question: public static Collection < ContentStream > toContentStreams ( final String str , final String contentType ) { ArrayList < ContentStream > streams = new ArrayList < > ( ) ; ContentStreamBase stream = new ContentStreamBase . StringStream ( str ) ; stream . setContentType ( contentType ) ; streams . add ( stream ) ; return streams ; }
target:  Take a string and make it an iterable ContentStream This should be moved to a helper class. (it is useful for the client too!)