java.lang.Cloneable, java.util.Comparator<Resource>public class Content extends ResourceComparator
description, location, project| Constructor | Description |
|---|---|
Content() |
| Modifier and Type | Method | 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.
|
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongcheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectcompare, equals, getCheckedRef, hashCodepublic 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)