- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for forUriString (0.07 sec)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
assertThrows( IllegalArgumentException.class, () -> InetAddresses.forUriString("192.168.999.888")); assertThrows( IllegalArgumentException.class, () -> InetAddresses.forUriString("www.google.com")); assertThrows(IllegalArgumentException.class, () -> InetAddresses.forUriString("[1:2e]"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* address surrounded by square brackets, or if the address has a scope id that fails * validation against interfaces on the machine */ public static InetAddress forUriString(String hostAddr) { InetAddress addr = forUriStringOrNull(hostAddr, /* parseScope= */ true); if (addr == null) { throw formatIllegalArgumentException("Not a valid URI IP literal: '%s'", hostAddr); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* address surrounded by square brackets, or if the address has a scope id that fails * validation against interfaces on the machine */ public static InetAddress forUriString(String hostAddr) { InetAddress addr = forUriStringOrNull(hostAddr, /* parseScope= */ true); if (addr == null) { throw formatIllegalArgumentException("Not a valid URI IP literal: '%s'", hostAddr); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0)