- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for toUri (0.02 sec)
-
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
new File("/usr/test/dep.jar").toURI(), ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "file:/usr/test/dep.jar") .toURI()); assertEquals( new File("/home/build/a.jar").toURI(), ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "a.jar").toURI()); assertEquals( new File("/home/build/x/y/z").toURI(),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
final File[] files = file.listFiles(); if (files != null) { for (final File f : files) { final String childUri = f.toURI().toASCIIString(); requestDataSet.add(RequestDataBuilder.newRequestData().get().url(childUri).build()); } } }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
@Override public ByteSource createSource(byte[] bytes) throws IOException { super.createSource(bytes); return Resources.asByteSource(getFile().toURI().toURL()); } } private static class UrlCharSourceFactory extends FileCharSourceFactory { @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) { route.address.proxySelector.connectFailed( route.address.url.toUri(), route.proxy.address(), e, ) } user.connectFailed(route, null, e) return ConnectResult(plan = this, throwable = e) } finally {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
if (failedRoute.proxy.type() != Proxy.Type.DIRECT) { val address = failedRoute.address address.proxySelector.connectFailed( address.url.toUri(), failedRoute.proxy.address(), failure, ) } client.routeDatabase.failed(failedRoute) } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
* @param file the file path * @return the extracted document ID */ protected String getDocId(final Path file) { final String s = file.toUri().toString(); final String b = basePath.toUri().toString(); final String id = s.replace(b, StringUtil.EMPTY).replace("." + imageExtention, StringUtil.EMPTY).replace("/", StringUtil.EMPTY); if (logger.isDebugEnabled()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* @return a URL object representing the file URL */ public static URL toURL(final File file) { assertArgumentNotNull("file", file); try { return file.toURI().toURL(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads the contents of a file into a byte array and returns it. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
assertThat(query.body).isEqualTo(body) } @Test fun uninitializedURI() { val request = Request.Builder().url("http://localhost/api").build() assertThat(request.url.toUri()).isEqualTo(URI("http://localhost/api")) assertThat(request.url).isEqualTo("http://localhost/api".toHttpUrl()) } @Test fun newBuilderUrlResetsUrl() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 19K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
cookie.domain = server.hostName cookie.path = "/" val portList = server.port.toString() cookie.portlist = portList cookieManager.cookieStore.add(server.url("/").toUri(), cookie) client = client .newBuilder() .cookieJar(JavaNetCookieJar(cookieManager)) .build() val response = client.newCall(Request(server.url("/page1"))).execute()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0)