public class ContentChunkerImpl extends Object implements ContentChunker
| Constructor and Description |
|---|
ContentChunkerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(org.alfresco.service.cmr.repository.ContentData data)
add content data to the chunker
|
void |
flush()
flush any remaining content data
|
long |
getChunkSize() |
ContentChunkProcessor |
getHandler() |
void |
setChunkSize(long chunkSize) |
void |
setHandler(ContentChunkProcessor handler) |
public void addContent(org.alfresco.service.cmr.repository.ContentData data)
throws TransferException
ContentChunkeraddContent in interface ContentChunkerTransferExceptionpublic void flush()
throws TransferException
ContentChunkerflush in interface ContentChunkerTransferExceptionpublic void setChunkSize(long chunkSize)
setChunkSize in interface ContentChunkerchunkSize - longpublic long getChunkSize()
getChunkSize in interface ContentChunkerpublic void setHandler(ContentChunkProcessor handler)
setHandler in interface ContentChunkerhandler - ContentChunkProcessorpublic ContentChunkProcessor getHandler()
Copyright © 2005–2018 Alfresco Software. All rights reserved.