Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 47 of 47 for toURL (0.03 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

         * c.g.c.io.Files.createTempDir?
         */
        File fullPath = new File(Files.createTempDir(), name);
        File jarFile = pickAnyJarFile();
        Files.copy(jarFile, fullPath);
        return fullPath.toURI().toURL();
      }
    
      private static File pickAnyJarFile() throws IOException {
        for (ClassPath.LocationInfo location :
            ClassPath.locationsFrom(ClassPathTest.class.getClassLoader())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

                        final URL warUrl = URLUtil.create(zipUrl, "../..");
                        final String path = warUrl.getPath();
                        zipUrl = FileUtil.toURL(new File(path.substring(0, path.length() - 1)));
                        prefix = zipUrlString.substring(warUrl.toExternalForm().length());
                        loadFromZip(zipUrl);
                    }
                }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/ClassPathTest.java

         * c.g.c.io.Files.createTempDir?
         */
        File fullPath = new File(Files.createTempDir(), name);
        File jarFile = pickAnyJarFile();
        Files.copy(jarFile, fullPath);
        return fullPath.toURI().toURL();
      }
    
      private static File pickAnyJarFile() throws IOException {
        for (ClassPath.LocationInfo location :
            ClassPath.locationsFrom(ClassPathTest.class.getClassLoader())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun httpUrl() {
        val httpUrl: HttpUrl = "".toHttpUrl()
        val isHttps: Boolean = httpUrl.isHttps
        val url: URL = httpUrl.toUrl()
        val uri: URI = httpUrl.toUri()
        val scheme: String = httpUrl.scheme
        val encodedUsername: String = httpUrl.encodedUsername
        val username: String = httpUrl.username
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                for (File file : extClassPath) {
                    slf4jLogger.debug("  included '{}'", file);
    
                    extRealm.addURL(file.toURI().toURL());
                }
    
                for (CoreExtensionEntry entry : reverse(extensions)) {
                    Set<String> exportedPackages = entry.getExportedPackages();
                    ClassRealm realm = entry.getClassRealm();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

         *
         * @deprecated Use getURL() instead
         * @return A new <code>{@link java.net.URL}</code> for this <code>SmbFile</code>
         */
        @Deprecated
        public URL toURL () {
            return getURL();
        }
    
    
        /**
         * Computes a hashCode for this file based on the URL string and IP
         * address if the server. The hashing function uses the hashcode of the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @deprecated Use getURL() instead
     * @return A new <code>{@link java.net.URL}</code> for this <code>SmbFile</code>
     * @throws MalformedURLException
     */
        public URL toURL() throws MalformedURLException {
            return url;
        }
    
    /**
     * Computes a hashCode for this file based on the URL string and IP
     * address if the server. The hashing function uses the hashcode of the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top