ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework Filter.java
Date Thu, 14 Feb 2002 10:49:34 GMT
donaldp     02/02/14 02:49:34

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/types
                        FilterSet.java
  Added:       proposal/myrmidon/src/java/org/apache/myrmidon/framework
                        Filter.java
  Removed:     proposal/myrmidon/src/main/org/apache/tools/ant/types
                        Filter.java
  Log:
  Move filter class into framework
  
  Revision  Changes    Path
  1.13      +1 -0      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/types/FilterSet.java
  
  Index: FilterSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/types/FilterSet.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- FilterSet.java	10 Feb 2002 01:10:41 -0000	1.12
  +++ FilterSet.java	14 Feb 2002 10:49:34 -0000	1.13
  @@ -16,6 +16,7 @@
   import java.util.Iterator;
   import java.util.Properties;
   import org.apache.myrmidon.api.TaskException;
  +import org.apache.myrmidon.framework.Filter;
   import org.apache.tools.ant.ProjectComponent;
   
   /**
  
  
  
  1.1                  jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/Filter.java
  
  Index: Filter.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included  with this distribution in
   * the LICENSE.txt file.
   */
  package org.apache.myrmidon.framework;
  
  /**
   * Individual filter component of filterset
   *
   * @author Michael McCallum
   * @created 14 March 2001
   */
  public class Filter
  {
      /**
       * Token which will be replaced in the filter operation
       */
      private String m_token;
  
      /**
       * The value which will replace the token in the filtering operation
       */
      private String m_value;
  
      /**
       * Constructor for the Filter object
       *
       * @param token The token which will be replaced when filtering
       * @param value The value which will replace the token when filtering
       */
      public Filter( final String token, final String value )
      {
          m_token = token;
          m_value = value;
      }
  
      /**
       * No argument conmstructor
       */
      public Filter()
      {
      }
  
      /**
       * Sets the Token attribute of the Filter object
       */
      public void setToken( final String token )
      {
          m_token = token;
      }
  
      /**
       * Sets the Value attribute of the Filter object
       */
      public void setValue( final String value )
      {
          m_value = value;
      }
  
      /**
       * Gets the Token attribute of the Filter object
       */
      public String getToken()
      {
          return m_token;
      }
  
      /**
       * Gets the Value attribute of the Filter object
       */
      public String getValue()
      {
          return m_value;
      }
  }
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message