Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hasPublicSuffix (0.09 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

          assertTrue(name, domain.hasPublicSuffix());
          assertTrue(name, domain.isUnderPublicSuffix());
        }
      }
    
      public void testUnderPublicSuffix() {
        for (String name : SOMEWHERE_UNDER_PS) {
          final InternetDomainName domain = InternetDomainName.from(name);
          assertFalse(name, domain.isPublicSuffix());
          assertTrue(name, domain.hasPublicSuffix());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InternetDomainName.java

       * @since 6.0
       */
      public boolean hasPublicSuffix() {
        return publicSuffixIndex() != NO_SUFFIX_FOUND;
      }
    
      /**
       * Returns the {@linkplain #isPublicSuffix() public suffix} portion of the domain name, or {@code
       * null} if no public suffix is present.
       *
       * @since 6.0
       */
      @CheckForNull
      public InternetDomainName publicSuffix() {
        return hasPublicSuffix() ? ancestor(publicSuffixIndex()) : null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InternetDomainName.java

       * @since 6.0
       */
      public boolean hasPublicSuffix() {
        return publicSuffixIndex() != NO_SUFFIX_FOUND;
      }
    
      /**
       * Returns the {@linkplain #isPublicSuffix() public suffix} portion of the domain name, or {@code
       * null} if no public suffix is present.
       *
       * @since 6.0
       */
      @CheckForNull
      public InternetDomainName publicSuffix() {
        return hasPublicSuffix() ? ancestor(publicSuffixIndex()) : null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top