public void insertTimelineItem ( TimelineItem item , String attachmentContentType , InputStream attachmentInputStream ) throws IOException { insertTimelineItem ( item , attachmentContentType , ByteStreams . toByteArray ( attachmentInputStream ) ) ; }
Inserts an item with an attachment provided as an input stream .