net.coderazzi.filters
Interface IParser

All Known Implementing Classes:
Parser

public interface IParser

Interface defining the requirements on text parsing for filter expressions.

Author:
Luis M Pena - lu@coderazzi.net

Method Summary
 String escape(String s)
          Escapes a given expression, such that, when parsed, the parser will make no character/operator substitutions.
 RowFilter parseText(String expression)
          Parses the text, returning a filter that can be applied to the table.
 

Method Detail

parseText

RowFilter parseText(String expression)
                    throws ParseException
Parses the text, returning a filter that can be applied to the table.

Parameters:
expression - the text to parse
Throws:
ParseException

escape

String escape(String s)
Escapes a given expression, such that, when parsed, the parser will make no character/operator substitutions.



Copyright © 2011 coderazzi. All Rights Reserved.