Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getCanonicalURL (0.26 sec)

  1. src/test/java/jcifs/tests/FileLocationTest.java

                assertNull(fl.getShare());
                assertEquals(SmbConstants.TYPE_WORKGROUP, fl.getType());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://", fl.getCanonicalURL());
                assertEquals("/", fl.getURLPath());
            }
        }
    
    
        @Test
        public void testEmpty () throws MalformedURLException, CIFSException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        public String getPath () {
            return this.url.toString();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getCanonicalURL()
         */
        @Override
        public String getCanonicalURL () {
            String str = this.url.getAuthority();
            if ( str != null && !str.isEmpty() ) {
                return "smb://" + this.url.getAuthority() + this.getURLPath();
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            Document document = getDocument(data);
            String value = transformer.getCanonicalUrl(responseData, document);
            assertNull(value);
    
            data = "<html><head><link rel=\"canonical\" href=\"http://example.com/\"></head><body>aaa</body></html>";
            document = getDocument(data);
            value = transformer.getCanonicalUrl(responseData, document);
            assertEquals("http://example.com/", value);
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResourceLocator.java

         * this method will result in an <code>SmbFile</code> that is equal to
         * the original.
         *
         * @return The canonicalized URL of this SMB resource.
         */
        String getCanonicalURL ();
    
    
        /**
         * @return The canonicalized UNC path of this SMB resource (relative to it's share)
         */
        String getUNCPath ();
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            return true;
        }
    
        protected void putAdditionalData(final Map<String, Object> dataMap, final ResponseData responseData, final Document document) {
            // canonical
            final String canonicalUrl = getCanonicalUrl(responseData, document);
            if (canonicalUrl != null && !canonicalUrl.equals(responseData.getUrl()) && isValidUrl(canonicalUrl)
                    && isValidCanonicalUrl(responseData.getUrl(), canonicalUrl)) {
    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)
  6. src/main/java/jcifs/http/NetworkExplorer.java

            out.println("<a class=\"sort\" style=\"width: 180\" href=\"?fmt=detail&sort=date\">Modified</a><br clear='all'><p>");
    
            path = dir.getLocator().getCanonicalURL();
    
            if ( path.length() < 7 ) {
                out.println("<b><big>smb://</big></b><br>");
                path = ".";
            }
            else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

         * Returns the Windows UNC style path with backslashes instead of forward slashes.
         *
         * @return The UNC path.
         */
        public String getCanonicalUncPath () {
            return this.fileLocator.getCanonicalURL();
        }
    
    
        /**
         * If the path of this <code>SmbFile</code> falls within a DFS volume,
         * this method will return the referral path to which it maps. Otherwise
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
Back to top