Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toUriString (0.04 sec)

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

        // use InetAddresses.toUriString to convert the result to a string in
        // canonical form.
        InetAddress addr = null;
        try {
          addr = InetAddresses.forString(host);
        } catch (IllegalArgumentException e) {
          // It is not an IPv4 or IPv6 literal
        }
    
        if (addr != null) {
          return new HostSpecifier(InetAddresses.toUriString(addr));
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

       * IP address string joined by a "/".
       *
       * @param ip {@link InetAddress} to be converted to URI string literal
       * @return {@code String} containing URI-safe string literal
       */
      public static String toUriString(InetAddress ip) {
        if (ip instanceof Inet6Address) {
          return "[" + toAddrString(ip) + "]";
        }
        return toAddrString(ip);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       * IP address string joined by a "/".
       *
       * @param ip {@link InetAddress} to be converted to URI string literal
       * @return {@code String} containing URI-safe string literal
       */
      public static String toUriString(InetAddress ip) {
        if (ip instanceof Inet6Address) {
          return "[" + toAddrString(ip) + "]";
        }
        return toAddrString(ip);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top