Class EndsWith

  • All Implemented Interfaces:
    java.lang.Cloneable, org.apache.tools.ant.taskdefs.condition.Condition

    public class EndsWith
    extends org.apache.tools.ant.taskdefs.condition.IsTrue
    Extends IsTrue to do a String.endsWith().
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Constructor Summary

      Constructors 
      Constructor Description
      EndsWith()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean eval()  
      void setString​(java.lang.String s)  
      void setWith​(java.lang.String w)  
      • Methods inherited from class org.apache.tools.ant.taskdefs.condition.IsTrue

        setValue
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EndsWith

        public EndsWith()
    • Method Detail

      • setString

        public void setString​(java.lang.String s)
      • setWith

        public void setWith​(java.lang.String w)
      • eval

        public boolean eval()
                     throws org.apache.tools.ant.BuildException
        Specified by:
        eval in interface org.apache.tools.ant.taskdefs.condition.Condition
        Overrides:
        eval in class org.apache.tools.ant.taskdefs.condition.IsTrue
        Throws:
        org.apache.tools.ant.BuildException