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
ContentChunker
addContent
in interface ContentChunker
TransferException
public void flush() throws TransferException
ContentChunker
flush
in interface ContentChunker
TransferException
public void setChunkSize(long chunkSize)
setChunkSize
in interface ContentChunker
chunkSize
- longpublic long getChunkSize()
getChunkSize
in interface ContentChunker
public void setHandler(ContentChunkProcessor handler)
setHandler
in interface ContentChunker
handler
- ContentChunkProcessorpublic ContentChunkProcessor getHandler()
Copyright © 2005–2017 Alfresco Software. All rights reserved.