- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for InternetDomainName (0.24 sec)
-
android/guava/src/com/google/common/net/InternetDomainName.java
String ancestorName = name.substring(substringFrom); return new InternetDomainName(ancestorName, ancestorParts); } /** * Creates and returns a new {@code InternetDomainName} by prepending the argument and a dot to * the current name. For example, {@code InternetDomainName.from("foo.com").child("www.bar")} * returns a new {@code InternetDomainName} with the value {@code www.bar.foo.com}. Only lenient
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
assertEquals("com", InternetDomainName.from("google.com").parent().toString()); assertEquals("uk", InternetDomainName.from("co.uk").parent().toString()); assertEquals("google.com", InternetDomainName.from("www.google.com").parent().toString()); assertThrows(IllegalStateException.class, () -> InternetDomainName.from("com").parent()); } public void testChild() { InternetDomainName domain = InternetDomainName.from("foo.com");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
} // It is not any kind of IP address; must be a domain name or invalid. // TODO(user): different versions of this for different factories? InternetDomainName domain = InternetDomainName.from(host); if (domain.hasPublicSuffix()) { return new HostSpecifier(domain.toString()); } throw new IllegalArgumentException(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java
import com.google.common.annotations.Beta; import com.google.common.annotations.GwtCompatible; /** * <b>Do not use this class directly. For access to public-suffix information, use {@link * com.google.common.net.InternetDomainName}.</b> * * <p>Specifies the type of a top-level domain definition. * * @since 23.3 */ @Beta @GwtCompatible public enum PublicSuffixType {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Dec 16 19:54:45 UTC 2020 - 2K bytes - Viewed (0) -
guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java
import com.google.common.annotations.Beta; import com.google.common.annotations.GwtCompatible; /** * <b>Do not use this class directly. For access to public-suffix information, use {@link * com.google.common.net.InternetDomainName}.</b> * * <p>Specifies the type of a top-level domain definition. * * @since 23.3 */ @Beta @GwtCompatible public enum PublicSuffixType {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 10 15:48:57 UTC 2020 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
import org.jspecify.annotations.NullUnmarked; /** * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for * those classes explore numerous corner cases. The intent here is to confirm that everything is * wired up properly. * * @author Craig Berry */ @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableMap; /** * <b>Do not use this class directly. For access to public-suffix information, use {@link * com.google.common.net.InternetDomainName}.</b> * * <p>A generated static class containing public members which provide domain name patterns used in * determining whether a given domain name is an effective top-level domain (public suffix). *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:39:59 UTC 2025 - 75.3K bytes - Viewed (0)