public interface ContentDataFactory
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.repository.ContentData |
createContentData(ContentStore store,
java.io.File contentFile)
Create a
ContentData by combining the given ContentStore's root location and the File's path within that store. |
org.alfresco.service.cmr.repository.ContentData createContentData(ContentStore store, java.io.File contentFile)
ContentData by combining the given ContentStore's root location and the File's path within that store.
The given file must therefore be accessible within the content store's configured root location.
The encoding and mimetype will be guessed from the given file.store - The ContentStore in which the file should becontentFile - The File to checkContentDataCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.