public class ContentChunkerImpl extends java.lang.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 ContentChunkerpublic long getChunkSize()
getChunkSize in interface ContentChunkerpublic void setHandler(ContentChunkProcessor handler)
setHandler in interface ContentChunkerpublic ContentChunkProcessor getHandler()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.