Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 231 for url (0.19 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 22 08:04:10 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 Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. 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 Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. 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 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K 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 Apr 26 12:43:10 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 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/context/BaseContext.java

         * 
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get ( String url ) throws CIFSException {
            try {
                return new SmbFile(url, this);
            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

         * <origin><![CDATA[
         * <distributionManagement>
         * <repository>
         * <id>some-repo</id>
         * <url>scp://host/path</url>
         * </repository>
         * <snapshotRepository>
         * <id>some-snap-repo</id>
         * <url>scp://host/snapshot-path</url>
         * </snapshotRepository>
         * </distributionManagement>
         * ]]></origin>
         * <usage><![CDATA[
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
Back to top