Package org.alfresco.repo.bulkimport
Interface ContentDataFactory
- All Known Implementing Classes:
FilesystemContentDataFactory
public interface ContentDataFactory
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateContentData(ContentStore store, File contentFile) Create aContentDataby combining the givenContentStore's root location and theFile's path within that store.
-
Method Details
-
createContentData
Create aContentDataby combining the givenContentStore's root location and theFile'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.- Parameters:
store- TheContentStorein which the file should becontentFile- TheFileto check- Returns:
- the constructed
ContentData
-