org.apache.tools.ant.types.resources.comparators
public class Content extends ResourceComparator
Since: Ant 1.7
| Method Summary | |
|---|---|
| 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. |
Returns: boolean binary flag.
Parameters: foo the first Resource. bar the second Resource.
Returns: a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
Throws: BuildException if I/O errors occur.
See Also: .
true.Parameters: b whether to compare content in binary mode.