class Parser implements ParserConstants {

    public Boolean validate() {
        try {
            parse();
            return result;
        } catch (Exception e) {
            return false;
        }
    }

    public  Parser(String rules, String field);
    public  Parser(java.io.InputStream stream);
    public  Parser(java.io.InputStream stream, String encoding);
    public  Parser(java.io.Reader stream);
    public  Parser(ParserTokenManager tm);

}