Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 93 for getUrl (0.29 sec)

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

    
        @Test
        public void testReadWriteTwoHandles () throws IOException {
            try ( SmbFile f = createTestFile() ) {
                try ( SmbFile s = new SmbFile(f.getURL().toString(), withTestNTLMCredentials(getContext()));
                      SmbFile t = new SmbFile(f.getURL().toString(), withTestNTLMCredentials(getContext())) ) {
                    try ( OutputStream os = s.getOutputStream();
                          InputStream is = t.getInputStream() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            assertEquals("http://hoge/test2.html", resultData.getChildUrlSet().iterator().next().getUrl());
        }
    
        public void test_transform_urllink() {
            String content = "<a href=\"http://fuga/test.html\">test</a>";
            final byte[] data = new String(content).getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://hoge/test.html");
            responseData.setResponseBody(data);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ContextConfigTest.java

                NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class);
                Assert.assertEquals("b@r", na.getPassword());
            }
    
            try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) {
                Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) {
                return null;
            }
    
            public String getUrl() {
                return repository.getUrl();
            }
    
            public void setUrl(String url) {}
    
            public String getBasedir() {
                return null;
            }
    
            public String getProtocol() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                throw new RuntimeCIFSException("NTLM handshake failed", e);
            }
            this.handshakeComplete = true;
        }
    
    
        @Override
        public URL getURL () {
            return this.connection.getURL();
        }
    
    
        @Override
        public int getContentLength () {
            handshake();
            return this.connection.getContentLength();
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                if (pattern != null) {
                    if (!pattern.matcher(failureUrl.getErrorName()).matches()) {
                        urlList.add(failureUrl.getUrl());
                    }
                } else {
                    urlList.add(failureUrl.getUrl());
                }
            }
            return urlList;
        }
    
        public OptionalEntity<CrawlingConfig> getDefaultConfig(final ConfigType configType) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                                    w.wait();
                                }
                                catch ( InterruptedException ie ) {
                                    throw new SmbException(dest.getURL().toString(), ie);
                                }
                            }
                            w.checkException();
    
                            if ( read <= 0 ) {
                                break;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileLocationTest.java

                  SmbResource c = new SmbFile(r, " test") ) {
                assertEquals(' ', c.getName().charAt(0));
                assertEquals(" test", c.getName());
                try ( SmbFile t = new SmbFile(c.getLocator().getURL(), getContext()) ) {
                    assertEquals(" test", t.getName());
                }
            }
        }
    
    
        @Test
        @Ignore
        public void testRelativeWhitespaceEnd () throws Exception {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            // clone the locator so that the address index is not modified
            SmbResourceLocatorImpl locator = parent.fileLocator.clone();
            CIFSContext tc = parent.getContext();
            URL u = locator.getURL();
    
            FileEntry[] entries;
    
            if ( u.getPath().lastIndexOf('/') != ( u.getPath().length() - 1 ) )
                throw new SmbException(u.toString() + " directory must end with '/'");
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FailureUrlDbm.java

            setupEpg(_epgMap, et -> ((FailureUrl) et).getThreadName(), (et, vl) -> ((FailureUrl) et).setThreadName(DfTypeUtil.toString(vl)),
                    "threadName");
            setupEpg(_epgMap, et -> ((FailureUrl) et).getUrl(), (et, vl) -> ((FailureUrl) et).setUrl(DfTypeUtil.toString(vl)), "url");
        }
    
        @Override
        public PropertyGateway findPropertyGateway(final String prop) {
            return doFindEpg(_epgMap, prop);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top