protected class OwMultifileDownload.OwContentElementEntry extends OwMultifileDownload.OwBufferedSingleContentEntry
OwContentElement based implementation of OwMultifileDownload.OwBufferedSingleContentEntry| Constructor and Description |
|---|
OwMultifileDownload.OwContentElementEntry(OwContentElement element_p,
String objectName_p,
int elementIndex_p)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
createMimeType()
(overridable) MIME type creating hook method.
|
protected void |
downloadFile(javax.servlet.ServletOutputStream responseOutputStream_p)
(overridable) method
|
void |
zipIt(org.apache.tools.zip.ZipOutputStream zipOutputStream_p,
String fileName_p) |
fileCount, serveSingleFileOnpublic OwMultifileDownload.OwContentElementEntry(OwContentElement element_p, String objectName_p, int elementIndex_p)
element_p - the content element this entry relies onobjectName_p - the name of the object this content element belongs toelementIndex_p - the index of the content element in its residing OwContentCollectionprotected String createMimeType() throws Exception
OwMultifileDownload.OwBufferedSingleContentEntrycreateMimeType in class OwMultifileDownload.OwBufferedSingleContentEntryOwContentElementExceptionprotected void downloadFile(javax.servlet.ServletOutputStream responseOutputStream_p)
throws Exception
OwMultifileDownload.OwBufferedSingleContentEntrydownloadFile in class OwMultifileDownload.OwBufferedSingleContentEntryExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.