public interface ContentComparator
Modifier and Type | Method and Description |
---|---|
boolean |
isContentEqual(org.alfresco.service.cmr.repository.ContentReader existingContent,
File file)
Are the two content items equal?
|
boolean isContentEqual(org.alfresco.service.cmr.repository.ContentReader existingContent, File file)
For most cases a simple binary comparison is sufficient but some mimetypes trivial changes need to be discarded.
existingContent
- file
- fileCopyright © 2005–2017 Alfresco Software. All rights reserved.