Via Document
Document doc = database.fetchDocument("docId"); Attachment a = doc.getAttachment("logo.png"); a.retrieve(new StreamContext() { public void withInputStream(InputStream is) throws IOException { // Use the InputStream // InputStream will be closed automatically. } });
Comments (0)
Anonymous replies:
Help Tips
- Text formatting
- Headings
- Lists
Full notation guide*bold*bold_italic_italich1.Large headingh5.Small heading*Bulleted point#Numbered point