Package crawlercommons.domains
Class PaidLevelDomain
- java.lang.Object
-
- crawlercommons.domains.PaidLevelDomain
-
public class PaidLevelDomain extends Object
Routines to extract the PLD (paid-level domain, as per the IRLbot paper) from a hostname or URL.
-
-
Constructor Summary
Constructors Constructor Description PaidLevelDomain()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetPLD(String hostname)Extract the PLD (paid-level domain) from the hostname.static StringgetPLD(URL url)Extract the PLD (paid-level domain) from the URL.
-