public interface ContentDataFactory
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.ContentData |
createContentData(org.alfresco.repo.content.ContentStore store,
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(org.alfresco.repo.content.ContentStore store, 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 checkContentData
Copyright © 2005–2017 Alfresco Software. All rights reserved.