Class Content

  • All Implemented Interfaces:
    java.lang.Cloneable, java.util.Comparator<Resource>

    public class Content
    extends ResourceComparator
    Compares Resources by content.
    Ant 1.7
    • Constructor Detail

      • Content

        public Content()
    • Method Detail

      • setBinary

        public void setBinary​(boolean b)
        Set binary mode for this Content ResourceComparator. If this attribute is set to false, Resource content will be compared ignoring platform line-ending conventions. Default is true.
        b - whether to compare content in binary mode.
      • isBinary

        public boolean isBinary()
        Learn whether this Content ResourceComparator is operating in binary mode.
        boolean binary flag.