public interface FileProcessor
Allows post-processing of a cached file before being stored by the FileLoader or when a file load has just completed.
Modifier and Type | Method and Description |
---|---|
void |
processLoadedFile(DiskDeviceContext context,
FileState state,
FileSegment segment)
Process a cached file just after being loaded.
|
void |
processStoredFile(DiskDeviceContext context,
FileState state,
FileSegment segment)
Process a cached file just before it is to be stored.
|
void processStoredFile(DiskDeviceContext context, FileState state, FileSegment segment)
context
- DiskDeviceContextstate
- FileStatesegment
- FileSegmentvoid processLoadedFile(DiskDeviceContext context, FileState state, FileSegment segment)
context
- DiskDeviceContextstate
- FileStatesegment
- FileSegmentCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.