Class DomainSuffixes


  • public class DomainSuffixes
    extends Object
    Storage class for DomainSuffix objects Note: this class is singleton
    Author:
    Enis Soztutar <enis.soz.nutch@gmail.com>
    • Method Detail

      • getInstance

        public static DomainSuffixes getInstance()
        Singleton instance, lazy instantination
        Returns:
        returns the domain suffix instance
      • isDomainSuffix

        public boolean isDomainSuffix​(String extension)
        Return whether the extension is a registered domain entry
        Parameters:
        extension - a String extension
        Returns:
        true if input is a registered domain entry, false otherwise