public interface FileContentReferenceHandler extends ContentReferenceHandler
| Modifier and Type | Method and Description |
|---|---|
File |
getFile(ContentReference contentReference,
boolean waitForTransfer)
Gets a File object for the given content reference, optionally waiting for the
file to be available and match the expected file size.
|
createContentReference, delete, getInputStream, isAvailable, isContentReferenceSupported, putInputStreamFile getFile(ContentReference contentReference, boolean waitForTransfer) throws ContentIOException, InterruptedException
This is useful for implementations that already use a file-based implementation and can prevent workers from unnecessarily copying I/O streams.
contentReference - waitForTransfer - ContentIOExceptionInterruptedExceptionCopyright © 2014 Alfresco Software. All rights reserved.