org.alfresco.repo.transfer
Class ContentChunkerImpl
java.lang.Object
org.alfresco.repo.transfer.ContentChunkerImpl
- All Implemented Interfaces:
- ContentChunker
public class ContentChunkerImpl
- extends java.lang.Object
- implements ContentChunker
The Content Chunker Splits Content into "Chunks" of a given size.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentChunkerImpl
public ContentChunkerImpl()
addContent
public void addContent(org.alfresco.service.cmr.repository.ContentData data)
throws TransferException
- Description copied from interface:
ContentChunker
- add content data to the chunker
- Specified by:
addContent
in interface ContentChunker
- Throws:
TransferException
flush
public void flush()
throws TransferException
- Description copied from interface:
ContentChunker
- flush any remaining content data
- Specified by:
flush
in interface ContentChunker
- Throws:
TransferException
setChunkSize
public void setChunkSize(long chunkSize)
- Specified by:
setChunkSize
in interface ContentChunker
getChunkSize
public long getChunkSize()
- Specified by:
getChunkSize
in interface ContentChunker
- Returns:
setHandler
public void setHandler(ContentChunkProcessor handler)
- Specified by:
setHandler
in interface ContentChunker
getHandler
public ContentChunkProcessor getHandler()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.