|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.nutch.util.domain.DomainSuffixes
public class DomainSuffixes
Storage class for DomainSuffix
objects
Note: this class is singleton
Method Summary | |
---|---|
DomainSuffix |
get(String extension)
Return the DomainSuffix object for the extension, if
extension is a top level domain returned object will be an
instance of TopLevelDomain |
static DomainSuffixes |
getInstance()
Singleton instance, lazy instantination |
boolean |
isDomainSuffix(String extension)
return whether the extension is a registered domain entry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DomainSuffixes getInstance()
public boolean isDomainSuffix(String extension)
public DomainSuffix get(String extension)
DomainSuffix
object for the extension, if
extension is a top level domain returned object will be an
instance of TopLevelDomain
extension
- of the domain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |