Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for registrySuffix (0.68 seconds)

  1. android/guava/src/com/google/common/net/InternetDomainName.java

       * Returns the {@linkplain #isRegistrySuffix() registry suffix} portion of the domain name, or
       * {@code null} if no registry suffix is present.
       *
       * @since 23.3
       */
      public @Nullable InternetDomainName registrySuffix() {
        return hasRegistrySuffix() ? ancestor(registrySuffixIndex()) : null;
      }
    
      /**
       * Indicates whether this domain name ends in a {@linkplain #isRegistrySuffix() registry suffix},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp");
        assertTrue(domain.hasRegistrySuffix());
        assertThat(domain.registrySuffix().toString()).isEqualTo("yokohama.jp");
    
        // Behold the weirdness!
        assertFalse(domain.registrySuffix().isRegistrySuffix());
      }
    
      public void testRegistrySuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp");
        assertTrue(domain.hasRegistrySuffix());
        assertThat(domain.registrySuffix().toString()).isEqualTo("yokohama.jp");
    
        // Behold the weirdness!
        assertFalse(domain.registrySuffix().isRegistrySuffix());
      }
    
      public void testRegistrySuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
Back to Top