You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.filters.FilterRulesParser

java.lang.Object
   |
   +----grendel.filters.FilterRulesParser

public class  FilterRulesParser
     extends java.lang.Object
{
          // Fields 9
     private int fLastc;
     private Reader fReader;
     public static final Token kCLOSE_TOKEN;
     public static final Token kCOMMA_TOKEN;
     public static final Token kCONTAINS_TOKEN;
     public static final Token kDELIMIT_TOKEN;
     public static final Token kEND_TOKEN;
     public static final Token kEOF_TOKEN;
     public static final Token kOPEN_TOKEN;

          // Constructors 1
     public FilterRulesParser(Reader);

          // Methods 5
     public String[] getArgs() throws IOException, FilterSyntaxException;
     public IFilter getNext() throws IOException, FilterSyntaxException;
     public Token getToken() throws IOException;
     private int getc() throws IOException;
     private void ungetc(int);

          // Inner Classes 10
     public static class Token
     private static class EofToken
     private static class DelimitToken
     private static class EndToken
     private static class OpenToken
     private static class CloseToken
     private static class CommaToken
     private static class MatchesToken
     private class StringToken
     private class BadToken
}



Fields


kEOF_TOKEN

   public static final Token kEOF_TOKEN


kDELIMIT_TOKEN

   public static final Token kDELIMIT_TOKEN


kEND_TOKEN

   public static final Token kEND_TOKEN


kOPEN_TOKEN

   public static final Token kOPEN_TOKEN


kCLOSE_TOKEN

   public static final Token kCLOSE_TOKEN


kCOMMA_TOKEN

   public static final Token kCOMMA_TOKEN


kCONTAINS_TOKEN

   public static final Token kCONTAINS_TOKEN


fReader

   private Reader fReader


fLastc

   private int fLastc



Constructors


FilterRulesParser

   public FilterRulesParser(Reader reader) 



Methods


getc

   private int getc()  throws IOException


ungetc

   private void ungetc(int c) 


getToken

   public Token getToken()  throws IOException


getArgs

   public String[] getArgs()  throws IOException, FilterSyntaxException


getNext

   public IFilter getNext()  throws IOException, FilterSyntaxException


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4