Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final boolean isSmbOrFtpUrl = isSmbUrl || isFtpUrl;
    
            // replacing url with mapping data
            url = ComponentUtil.getPathMappingHelper().replaceUrl(url);
    
            final boolean isHttpUrl = url.startsWith("http:") || url.startsWith("https:");
    
            if (isSmbUrl) {
                url = url.replace("smb:", "file:");
                url = url.replace("smb1:", "file:");
            }
    
            if (isHttpUrl && isSmbOrFtpUrl) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

        }
    
        /**
         * ファイルを表すURLからルートパッケージの上位となるベースディレクトリを求めて返します。
         *
         * @param url
         *            ファイルを表すURL
         * @param baseName
         *            ベース名
         * @return ルートパッケージの上位となるベースディレクトリ
         */
        protected static File getBaseDir(final URL url, final String baseName) {
            assertArgumentNotNull("url", url);
    
            File file = URLUtil.toFile(url);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final String fileName = artifact.getFileName();
            final String url = artifact.getUrl();
            if (StringUtil.isBlank(url)) {
                throw new PluginException("url is blank: " + artifact.getName());
            }
            if (url.startsWith("http:") || url.startsWith("https:")) {
                try (final CurlResponse response = createCurlRequest(url).execute()) {
                    if (response.getHttpStatusCode() != 200) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testRelativePath() throws Exception {
            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());
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) {
                    if (response.getHttpStatusCode() == 200) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Sent {} to {}.", body, url);
                        }
                    } else {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    return new URL(protocol + ":" + url);
                }
                if (url.startsWith("/") || url.indexOf(':') == -1) {
                    return new URL(new URL(currentUrl), url);
                }
                return new URL(url);
            }
            return null;
        }
    
        public void addFieldRule(final String name, final String xpath, final boolean isPruned) {
            addFieldRule(name, xpath);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 41.9K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        private String canonicalFileUrl(String url) throws IOException {
            if (!url.startsWith("file:")) {
                url = "file://" + url;
            } else if (url.startsWith("file:") && !url.startsWith("file://")) {
                url = "file://" + url.substring("file:".length());
            }
    
            // So now we have an url of the form file://<path>
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("https://parent.url/org", pom.getValue("organization/url"));
            assertEquals("https://parent.url/license.txt", pom.getValue("licenses[1]/url"));
            assertEquals("https://parent.url/viewvc/ap/child", pom.getValue("scm/url"));
            assertEquals("https://parent.url/scm/ap/child", pom.getValue("scm/connection"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsClickLogCQ.java

        }
    
        public void setUrl_Equal(String url) {
            setUrl_Term(url, null);
        }
    
        public void setUrl_Equal(String url, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setUrl_Term(url, opLambda);
        }
    
        public void setUrl_Term(String url) {
            setUrl_Term(url, null);
        }
    
        public void setUrl_Term(String url, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 63.5K bytes
    - Viewed (0)
Back to top