public class OrganizationParser extends Object implements SherdogParser<Organization>
Constructor and Description |
---|
OrganizationParser()
Creates an organization parser with the default zone id
|
OrganizationParser(java.time.ZoneId zoneId)
Create a parser with a specified zoneid
|
Modifier and Type | Method and Description |
---|---|
Organization |
parseDocument(org.jsoup.nodes.Document doc)
Parse a sherdog page
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parse, parseFromHtml
public OrganizationParser()
public OrganizationParser(java.time.ZoneId zoneId)
zoneId
- specified zone id for time conversionpublic Organization parseDocument(org.jsoup.nodes.Document doc) throws IOException, ParseException
parseDocument
in interface SherdogParser<Organization>
doc
- Jsoup document of the sherdog pageIOException
- if connecting to sherdog failsParseException
- if the page structure has changedCopyright © 2019. All rights reserved.