Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for toExternalForm (0.09 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

            }
    
            if (!UrlSource.class.equals(obj.getClass())) {
                return false;
            }
    
            UrlSource other = (UrlSource) obj;
            return Objects.equals(url.toExternalForm(), other.url.toExternalForm());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertEquals("http://hoge.com/", value.toExternalForm());
    
            value = transformer.getBaseUrl("http://hoge.com/", "http://hoge.com/");
            assertEquals("http://hoge.com/", value.toExternalForm());
    
            value = transformer.getBaseUrl("http://hoge.com/aaa/bbb.html", "http://hoge.com/");
            assertEquals("http://hoge.com/", value.toExternalForm());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

        @Test
        void testGetLocation() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
            assertEquals(txtFile.toExternalForm(), source.getLocation());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

            final File f = new File("/Program Files/foo.jar");
            URL url = new URL("jar:" + f.toURI().toURL() + "!/foo/bar/");
            url = new URL(url, "..");
            System.out.println(url.toExternalForm());
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                            + this.getClass().getPackage().getImplementationVersion() + ":super-pom";
                    InputSource inputSource = new InputSource(
                            modelId, getClass().getResource(resource).toExternalForm());
                    options.put(ModelProcessor.INPUT_SOURCE, new org.apache.maven.model.InputSource(inputSource));
    
                    return modelProcessor.read(is, options);
                } catch (IOException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/Handler.java

         */
        protected int getDefaultPort() {
            return DEFAULT_HTTP_PORT;
        }
    
        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(),
                    getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection)
                    url.openConnection());
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            URL childUrl;
            String u = null;
            try {
                childUrl = new URL(url, urlValue.startsWith(":") ? url.getProtocol() + urlValue : urlValue);
                u = encodeUrl(normalizeUrl(childUrl.toExternalForm()), encoding);
            } catch (final MalformedURLException e) {
                final int pos = urlValue.indexOf(':');
                if (pos > 0 && pos < 10) {
                    u = encodeUrl(normalizeUrl(urlValue), encoding);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

         */
        public void testToExternalForm() throws Exception {
            final URL url = new File("/Program File").toURI().toURL();
            assertEquals("file:" + getRoot() + "Program File", ResourceUtil.toExternalForm(url));
        }
    
        /**
         * @throws Exception
         */
        public void testGetFileName() throws Exception {
            URL url = new File("/Program File").toURI().toURL();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

         *
         * @param url
         *            リソースのURL。{@literal null}であってはいけません
         * @return 外部形式
         */
        public static String toExternalForm(final URL url) {
            assertArgumentNotNull("url", url);
    
            final String s = url.toExternalForm();
            return URLUtil.decode(s, "UTF8");
        }
    
        /**
         * リソースのファイル名を返します。
         *
         * @param url
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                        final SmbFile[] files = file.listFiles();
                        if (files != null) {
                            for (final SmbFile f : files) {
                                final String chileUri = f.getURL().toExternalForm();
                                requestDataSet.add(RequestDataBuilder.newRequestData().get().url(chileUri).build());
                            }
                        }
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top