commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bur...@apache.org
Subject cvs commit: jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser ContentDetectorResult.java ContentDetector.java
Date Wed, 22 Sep 2004 22:26:59 GMT
burton      2004/09/22 15:26:59

  Modified:    feedparser/src/java/org/apache/commons/feedparser
                        ContentDetector.java
  Added:       feedparser/src/java/org/apache/commons/feedparser
                        ContentDetectorResult.java
  Log:
  content detector result exposed...
  
  Revision  Changes    Path
  1.2       +1 -15     jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/ContentDetector.java
  
  Index: ContentDetector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/ContentDetector.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ContentDetector.java	29 May 2004 23:24:54 -0000	1.1
  +++ ContentDetector.java	22 Sep 2004 22:26:59 -0000	1.2
  @@ -147,17 +147,3 @@
       }
       
   }
  -
  -class ContentDetectorResult {
  -
  -    /**
  -     * True if this is a feed (RSS or Atom)
  -     */
  -    public boolean isFeed = false;
  -
  -    public boolean isRSS = false;
  -    public boolean isAtom = false;
  -
  -    public boolean isHTML = false;
  -    
  -}
  
  
  
  1.1                  jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/ContentDetectorResult.java
  
  Index: ContentDetectorResult.java
  ===================================================================
  /*
   * Copyright 1999,2004 The Apache Software Foundation.
   * 
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   * 
   *      http://www.apache.org/licenses/LICENSE-2.0
   * 
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  package org.apache.commons.feedparser;
  
  import java.net.URL;
  
  /**
   * 
   * @author <a href="mailto:burton@apache.org">Kevin A. Burton (burtonator)</a>
   * @version $Id: ContentDetectorResult.java,v 1.1 2004/09/22 22:26:59 burton Exp $
   */
  public class ContentDetectorResult {
  
      /**
       * True if this is a feed (RSS or Atom)
       */
      public boolean isFeed = false;
  
      public boolean isRSS = false;
      public boolean isAtom = false;
  
      public boolean isHTML = false;
      
  }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message