Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for getDate (0.28 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @return  The uncanonicalized full URL of this SMB resource.
         */
    
        public String getPath() {
            return url.toString();
        }
    
        String getUncPath0() {
            if (unc == null) {
                final char[] in = url.getPath().toCharArray();
                final char[] out = new char[in.length];
                final int length = in.length;
                int i, o, state;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

         */
        public SmbFile(final URL url, final CIFSContext tc) throws MalformedURLException {
            super(url);
            if (url.getPath() != null && !url.getPath().isEmpty() && url.getPath().charAt(0) != '/') {
                throw new MalformedURLException("Invalid SMB URL: " + url);
            }
            this.transportContext = tc;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            }
    
            @Override
            public Object getData(AccessResultData<?> accessResultData) {
                if (throwInGetData) {
                    throw new CrawlerSystemException("GetData exception");
                }
    
                if (accessResultData == null) {
                    return null;
                }
                byte[] data = accessResultData.getData();
                return data != null ? new String(data) : null;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            assertNull(transformer.getName());
        }
    
        /**
         * Test getName and setName with normal values
         */
        public void test_name_getterSetter() {
            // Initial state
            assertNull(testTransformer.getName());
    
            // Set name
            testTransformer.setName("testTransformer");
            assertEquals("testTransformer", testTransformer.getName());
    
            // Change name
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Circuit should be in HALF_OPEN");
    
            // One more success should close the circuit (threshold is 2)
            circuitBreaker.executeWithCircuitBreaker(() -> "success2");
            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
    
            // Wait for timeout
            Thread.sleep(150);
    
            // Next call should transition to HALF_OPEN
            String result = circuitBreaker.call(() -> "success");
            assertEquals("success", result);
            assertEquals(SimpleCircuitBreaker.State.HALF_OPEN, circuitBreaker.getState());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                                responseData.setMimeType(mimeTypeHelper.getContentType(is, file.getName()));
                            } catch (final Exception e) {
                                responseData.setMimeType(mimeTypeHelper.getContentType(null, file.getName()));
                            }
                        } else {
                            if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

                     * as opposed to normally
                     * \path\to\file
                     */
                    if (preq.getPath() != null && preq.getPath().length() > 0) {
                        if (log.isDebugEnabled()) {
                            log.debug(String.format("Setting DFS request path from %s to %s", preq.getPath(), preq.getFullUNCPath()));
                        }
                        preq.setResolveInDfs(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                                responseData.setMimeType(mimeTypeHelper.getContentType(is, file.getName()));
                            } catch (final Exception e) {
                                responseData.setMimeType(mimeTypeHelper.getContentType(null, file.getName()));
                            }
                        } else {
                            if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                return f1.isDirectory() ? -1 : 1;
            }
            if (f1.isDirectory()) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
            diff = f1.length() - f2.length();
            if (diff == 0) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
            return diff > 0 ? -1 : 1;
        }
    
        /**
         * Compares two SMB files by file type/extension.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top