public class IrcInputRowParser extends Object implements InputRowParser<Pair<org.joda.time.DateTime,com.ircclouds.irc.api.domain.messages.ChannelPrivMsg>>
Example Usage
Decoder definition: wikipedia-decoder.json
 <p/>
 {
   "type": "wikipedia",
   "namespaces": {
     "#en.wikipedia": {
       "": "main",
       "Category": "category",
       "Template talk": "template talk",
       "Help talk": "help talk",
       "Media": "media",
       "MediaWiki talk": "mediawiki talk",
       "File talk": "file talk",
       "MediaWiki": "mediawiki",
       "User": "user",
       "File": "file",
       "User talk": "user talk",
       "Template": "template",
       "Help": "help",
       "Special": "special",
       "Talk": "talk",
       "Category talk": "category talk"
     }
   },
   "geoIpDatabase": "path/to/GeoLite2-City.mmdb"
 }
 | Constructor and Description | 
|---|
IrcInputRowParser(ParseSpec parseSpec,
                 IrcDecoder decoder)  | 
| Modifier and Type | Method and Description | 
|---|---|
IrcDecoder | 
getDecoder()  | 
ParseSpec | 
getParseSpec()  | 
List<InputRow> | 
parseBatch(Pair<org.joda.time.DateTime,com.ircclouds.irc.api.domain.messages.ChannelPrivMsg> msg)
Parse an input into list of  
InputRow. | 
InputRowParser | 
withParseSpec(ParseSpec parseSpec)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparsepublic IrcInputRowParser(ParseSpec parseSpec, IrcDecoder decoder)
public IrcDecoder getDecoder()
public List<InputRow> parseBatch(Pair<org.joda.time.DateTime,com.ircclouds.irc.api.domain.messages.ChannelPrivMsg> msg)
InputRowParserInputRow. List can contains null for rows that should be thrown away,
 or throws ParseException if the input is unparseable. This method should never return null otherwise
 lots of things will break.parseBatch in interface InputRowParser<Pair<org.joda.time.DateTime,com.ircclouds.irc.api.domain.messages.ChannelPrivMsg>>public ParseSpec getParseSpec()
getParseSpec in interface InputRowParser<Pair<org.joda.time.DateTime,com.ircclouds.irc.api.domain.messages.ChannelPrivMsg>>public InputRowParser withParseSpec(ParseSpec parseSpec)
withParseSpec in interface InputRowParser<Pair<org.joda.time.DateTime,com.ircclouds.irc.api.domain.messages.ChannelPrivMsg>>Copyright © 2011–2018. All rights reserved.