Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for uri (0.14 sec)

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

    import javax.annotation.CheckForNull;
    
    /**
     * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP
     * address in IPv4 or IPv6 notation, or a domain name.
     *
     * <p>Because this class is intended to represent host specifiers which can reasonably be used in a
     * URI, the domain name case is further restricted to include only those domain names which end in a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

    /**
     * Tests for the {@link UrlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    public class UrlEscapersTest extends TestCase {
      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/PercentEscaper.java

     * encoding scheme. The set of safe characters (those which remain unescaped) can be specified on
     * construction.
     *
     * <p>This class is primarily used for creating URI escapers in {@link UrlEscapers} but can be used
     * directly if required. While URI escapers impose specific semantics on which characters are
     * considered 'safe', this class has a minimal set of restrictions.
     *
     * <p>When escaping a String, the following rules apply:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  4. 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);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  5. guava-tests/test/com/google/common/net/UrlEscapersTest.java

    /**
     * Tests for the {@link UrlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    public class UrlEscapersTest extends TestCase {
      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     *   private Set<Uri> visited;
     *   private Queue<Uri> toCrawl;
     *   protected void startUp() throws Exception {
     *     toCrawl = readStartingUris();
     *   }
     *
     *   protected void runOneIteration() throws Exception {
     *     Uri uri = toCrawl.remove();
     *     Collection<Uri> newUris = crawl(uri);
     *     visited.add(uri);
     *     for (Uri newUri : newUris) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/g"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 11K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/g"));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 11K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HostAndPort.java

          return this;
        }
        return new HostAndPort(host, defaultPort, hasBracketlessColons);
      }
    
      /**
       * Generate an error if the host might be a non-bracketed IPv6 literal.
       *
       * <p>URI formatting requires that IPv6 literals be surrounded by brackets, like "[2001:db8::1]".
       * Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/ClassPath.java

            }
          } catch (MalformedURLException e) {
            logger.log(WARNING, "malformed classpath entry: " + entry, e);
          }
        }
        return urls.build();
      }
    
      /**
       * Returns the absolute uri of the Class-Path entry value as specified in <a
       * href="http://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#Main_Attributes">JAR
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
Back to top