public void storeAttachment(AttachmentId attachmentId, InputStream in, WaveletName waveletName, String fileName, ParticipantId creator) throws IOException { store.storeAttachment(attachmentId, in); buildAndStoreMetadataWithThumbnail(attachmentId, waveletName, fileName, creator); }
protected void writeStringDataToAttachmentStore( AttachmentStore store, AttachmentId id, String data) throws IOException { store.storeAttachment(id, new ByteArrayInputStream(data.getBytes("UTF-8"))); }
protected void writeStringDataToAttachmentStore( AttachmentStore store, AttachmentId id, String data) throws IOException { store.storeAttachment(id, new ByteArrayInputStream(data.getBytes("UTF-8"))); }