- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getProtocols (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
} /** * Test that the gcs protocol is correctly recognized. */ public void test_protocol() throws Exception { URL url = new URL("gcs://bucket/object"); assertEquals("gcs", url.getProtocol()); } /** * Test URL parsing with bucket and object path. */ public void test_urlParsing_bucketAndObject() throws Exception { URL url = new URL("gcs://mybucket/path/to/object.txt");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getProtocol()).isEqualTo("file"); assertThat(urls.get(0).getAuthority()).isNull(); assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getProtocol()).isEqualTo("file"); assertThat(urls.get(0).getAuthority()).isNull(); assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 25.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
assertArgumentNotEmpty("path", path); assertArgumentNotEmpty("encoding", encoding); final URL url = ResourceUtil.getResource(path); if (url.getProtocol().equals("file")) { return readText(URLUtil.toFile(url), encoding); } final InputStream is = URLUtil.openStream(url); try {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
/** * Test that the storage protocol is correctly recognized. */ public void test_protocol() throws Exception { URL url = new URL("storage://bucket/object"); assertEquals("storage", url.getProtocol()); } /** * Test URL parsing with bucket and object path. */ public void test_urlParsing_bucketAndObject() throws Exception {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0)