|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnz.ac.waikato.mcennis.rat.parser.ParserFactory
public class ParserFactory
Class for creating Parsers
Constructor Summary | |
---|---|
protected |
ParserFactory()
|
Method Summary | |
---|---|
Parser |
create(java.util.Properties props)
Create Parsers using the given properties file as parameters Parser Class is determined by the 'ParserType' key HTML File'ToFileDirectory' - directory where files should be stored Scheduler - see HandlerFactory-RATExecution for more parameters FOAF - see HandlerFactory-FOAF for more parameters Graph - see HandlerFactory-Graph for more parameters GoogleArtist LastFmArtist 'LastFMType' - LastFM xml parser if XML, Basic bio parser otherwise BaseArtistDecider - ArtistDecider created - see ArtistDeciderFactory ArtistDeciderXML YahooArtistDecider LastFMArtistTag - see HandlerFactory-LastFMArtistTag for parameters |
static ParserFactory |
newInstance()
Create a new reference to the ParserFactory singelton |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ParserFactory()
Method Detail |
---|
public static ParserFactory newInstance()
public Parser create(java.util.Properties props)
props
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |