Example usage for org.apache.commons.digester3 SimpleRegexMatcher SimpleRegexMatcher

List of usage examples for org.apache.commons.digester3 SimpleRegexMatcher SimpleRegexMatcher

Introduction

In this page you can find the example usage for org.apache.commons.digester3 SimpleRegexMatcher SimpleRegexMatcher.

Prototype

SimpleRegexMatcher

Source Link

Usage

From source file:com.petpet.c3po.adaptor.fits.FITSAdaptor.java

/**
 * A default constructor that initialises the digester and sets up the parsing
 * rules./* ww  w .j av a 2s . co  m*/
 */
public FITSAdaptor() {
    this.digester = new Digester(); // not thread safe
    this.digester.setRules(new RegexRules(new SimpleRegexMatcher()));
    this.createParsingRules();
}