|
FantasySportsModule 0.0.2-dev | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.fanfoot.scoring.EventParserConfiguration
Reads an XML configuration file and builds a set of Regular Expressions that are used to extract information from a commentary/statistics resource.
| Constructor Summary | |
EventParserConfiguration(java.lang.String strURL)
Creates a new instance of EventParserConfiguration using the indicated configuration file |
|
| Method Summary | |
java.util.Iterator |
getDuplicateDetectionParts(java.lang.String strType)
Get an Iterator of part names that are used to identify duplicate events of the given type. |
EventPattern |
getEventsUIDPattern(java.lang.String strSourceType)
Get the pattern for extracting the UID of the Events group this configuration file is for. |
java.util.ArrayList |
getPatternsForType(java.lang.String strSourceType)
Get all patterns in the config file for a source of the indicated type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EventParserConfiguration(java.lang.String strURL)
throws EventParserConfigurationException
strURL - the URL of the configuration file to use
EventParserConfigurationException - Description of the
Exception| Method Detail |
public java.util.ArrayList getPatternsForType(java.lang.String strSourceType)
strSourceType - Description of the Parameter
public java.util.Iterator getDuplicateDetectionParts(java.lang.String strType)
strType - the type we are considering
public EventPattern getEventsUIDPattern(java.lang.String strSourceType)
throws EventParserConfigurationException
strSourceType - the source type we want to use
EventParserConfigurationException - if unable to build the
UID pattern
|
FantasySportsModule 0.0.2-dev | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||