org.apache.commons.feedparser
Class FeedFilter

java.lang.Object
  |
  +--org.apache.commons.feedparser.FeedFilter

public class FeedFilter
extends java.lang.Object

Version:
$Id: FeedFilter.java 159215 2005-03-27 23:36:16Z burton $

Field Summary
static boolean DO_DECODE_ENTITIES
           
static boolean DO_REMOVE_LEADING_PROLOG
           
static java.util.HashMap LATIN1_ENTITIES
           
 
Constructor Summary
FeedFilter()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static byte[] parse(byte[] bytes)
          Deprecated. Specify an encoding with #parse( bytes[], encoding )
static byte[] parse(byte[] bytes, java.lang.String encoding)
           
static byte[] parse(java.lang.String content, java.lang.String encoding)
          Parse out an input string of content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DO_REMOVE_LEADING_PROLOG

public static boolean DO_REMOVE_LEADING_PROLOG

DO_DECODE_ENTITIES

public static boolean DO_DECODE_ENTITIES

LATIN1_ENTITIES

public static java.util.HashMap LATIN1_ENTITIES
Constructor Detail

FeedFilter

public FeedFilter()
Method Detail

parse

public static byte[] parse(byte[] bytes)
                    throws java.lang.Exception
Deprecated. Specify an encoding with #parse( bytes[], encoding )

This is probably the wrong behavior. I shouldn't call this method I think because assuming a content type is bad form.

java.lang.Exception

parse

public static byte[] parse(byte[] bytes,
                           java.lang.String encoding)
                    throws java.lang.Exception
java.lang.Exception

parse

public static byte[] parse(java.lang.String content,
                           java.lang.String encoding)
                    throws java.lang.Exception
Parse out an input string of content. http://wiki.apache.org/jakarta-commons/FeedParser_2fStringAllocationConsideredHelpful

java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception


Copyright © 2004-2006 Apache Software Foundation. All Rights Reserved.