Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for url (0.15 sec)

  1. guava-tests/test/com/google/common/base/EnumsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Class.getClassLoader()
      private URL[] getClassPathUrls() {
        ClassLoader classLoader = getClass().getClassLoader();
        return classLoader instanceof URLClassLoader
            ? ((URLClassLoader) classLoader).getURLs()
            : parseJavaClassPath().toArray(new URL[0]);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        // Now set the context loader to one that should find the resource.
        URL baseUrl = tempFile.getParentFile().toURI().toURL();
        URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(loader);
          URL url = Resources.getResource(tempFile.getName());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Resources.java

       * Returns a {@link ByteSource} that reads from the given URL.
       *
       * @since 14.0
       */
      public static ByteSource asByteSource(URL url) {
        return new UrlByteSource(url);
      }
    
      /** A byte source that reads from a URL using {@link URL#openStream()}. */
      private static final class UrlByteSource extends ByteSource {
    
        private final URL url;
    
        private UrlByteSource(URL url) {
          this.url = checkNotNull(url);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        FinalizableReferenceQueue.DecoupledLoader decoupledLoader =
            new FinalizableReferenceQueue.DecoupledLoader() {
              @Override
              URLClassLoader newLoader(URL base) {
                return new DecoupledClassLoader(new URL[] {base});
              }
            };
    
        Class<?> finalizerCopy = decoupledLoader.loadFinalizer();
    
        assertNotNull(finalizerCopy);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        FinalizableReferenceQueue.DecoupledLoader decoupledLoader =
            new FinalizableReferenceQueue.DecoupledLoader() {
              @Override
              URLClassLoader newLoader(URL base) {
                return new DecoupledClassLoader(new URL[] {base});
              }
            };
    
        Class<?> finalizerCopy = decoupledLoader.loadFinalizer();
    
        assertNotNull(finalizerCopy);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/StandardSystemProperty.java

      /** Java Runtime Environment version. */
      JAVA_VERSION("java.version"),
    
      /** Java Runtime Environment vendor. */
      JAVA_VENDOR("java.vendor"),
    
      /** Java vendor URL. */
      JAVA_VENDOR_URL("java.vendor.url"),
    
      /** Java installation directory. */
      JAVA_HOME("java.home"),
    
      /** Java Virtual Machine specification version. */
      JAVA_VM_SPECIFICATION_VERSION("java.vm.specification.version"),
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/BaseEncoding.java

        return BASE64;
      }
    
      private static final BaseEncoding BASE64_URL =
          new Base64Encoding(
              "base64Url()", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_", '=');
    
      /**
       * The "base64url" encoding specified by <a
       * href="http://tools.ietf.org/html/rfc4648#section-5">RFC 4648 section 5</a>, Base 64 Encoding
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ResourcesTest.java

        // Now set the context loader to one that should find the resource.
        URL baseUrl = tempFile.getParentFile().toURI().toURL();
        URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(loader);
          URL url = Resources.getResource(tempFile.getName());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/PercentEscaper.java

     * </ul>
     *
     * <p>For performance reasons the only currently supported character encoding of this class is
     * UTF-8.
     *
     * <p><b>Note:</b> This escaper produces <a
     * href="https://url.spec.whatwg.org/#percent-encode">uppercase</a> hexadecimal sequences.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    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)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_duplicateUri_parentWins() throws Exception {
        URL url = new URL("file:/a");
        URLClassLoader parent = new URLClassLoader(new URL[] {url}, null);
        URLClassLoader child = new URLClassLoader(new URL[] {url}, parent) {};
        assertThat(ClassPath.getClassPathEntries(child)).containsExactly(new File("/a"), parent);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top