Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (final File f : mctx.getAttachment())
- ctx.addAttachement(f.getName(), new InputStreamSource() {
- public InputStream getInputStream() throws IOException {
- return new FileInputStream(f);
- }
- }, "application/pdf");
Add Comment
Please, Sign In to add comment