public class Content extends ResourceComparator
description, location, project| Constructor and Description |
|---|
Content() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBinary()
Learn whether this Content ResourceComparator is operating in binary mode.
|
protected int |
resourceCompare(Resource foo,
Resource bar)
Compare two Resources by content.
|
void |
setBinary(boolean b)
Set binary mode for this Content ResourceComparator.
|
compare, equals, getCheckedRef, hashCodecheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic void setBinary(boolean b)
true.b - whether to compare content in binary mode.public boolean isBinary()
protected int resourceCompare(Resource foo, Resource bar)
resourceCompare in class ResourceComparatorfoo - the first Resource.bar - the second Resource.BuildException - if I/O errors occur.ResourceUtils.compareContent(Resource, Resource, boolean)