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, serveSingleFileOn
public 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 OwContentCollection
protected String createMimeType() throws Exception
OwMultifileDownload.OwBufferedSingleContentEntry
createMimeType
in class OwMultifileDownload.OwBufferedSingleContentEntry
OwContentElement
Exception
protected void downloadFile(javax.servlet.ServletOutputStream responseOutputStream_p) throws Exception
OwMultifileDownload.OwBufferedSingleContentEntry
downloadFile
in class OwMultifileDownload.OwBufferedSingleContentEntry
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.