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