Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for vfsfile (4.97 sec)

  1. src/test/java/jcifs/smb/SmbFileTest.java

            }
    
            @Test
            void testIsFile() throws SmbException {
                // Arrange
                doReturn(true).when(smbFile).isFile();
    
                // Act & Assert
                assertTrue(smbFile.isFile());
            }
    
            @Test
            void testCanRead() throws SmbException {
                // Arrange
                doReturn(false).when(smbFile).isDirectory();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                    responseData.setCharSet(charset);
                    responseData.setContentLength(0);
                } else if (file.isFile()) {
                    // check file size
                    responseData.setContentLength(file.length());
                    checkMaxContentLength(responseData);
    
                    parseFileOwnerAttribute(responseData, file);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                        logger.debug("generator path: {}", s);
                    }
                    return s;
                }).allMatch(s -> {
                    final boolean found = new File(s).isFile();
                    if (found && logger.isDebugEnabled()) {
                        logger.debug("Generator command found: {}", s);
                    }
                    return found;
                });
            } else {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                    responseData.setCharSet(charset);
                    responseData.setContentLength(0);
                } else if (file.isFile()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Checking SmbFile Size: {}", filePath);
                    }
                    responseData.setContentLength(file.length());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE);
                    responseData.setCharSet(charset);
                    responseData.setContentLength(0);
                } else if (file.isFile()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Checking SmbFile Size: {}", filePath);
                    }
                    responseData.setContentLength(file.length());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                    responseData.setRedirectLocation(redirect);
                    ftpClientQueue.offer(client);
                    return;
                }
            }
    
            if (file.isFile()) {
                responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                responseData.setCharSet(Constants.UTF_8);
                responseData.setLastModified(file.getTimestamp().getTime());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResource.java

         *
         * @return <code>true</code> if this <code>SmbResource</code> is not a directory
         * @throws CIFSException if an error occurs accessing the resource
         */
        boolean isFile() throws CIFSException;
    
        /**
         * Tests to see if the file this <code>SmbResource</code> represents is a directory.
         *
         * @return <code>true</code> if this <code>SmbResource</code> is a directory
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         */
        private boolean existsPage(final String path) {
            final String realPath = LaServletContextUtil.getServletContext().getRealPath(path);
            final File file = new File(realPath);
            return file.isFile();
        }
    
        /**
         * Creates cached content with highlighting for a document.
         * Uses Handlebars templates to render the cached content.
         *
         * @param doc the document data map
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

            }
            if (!exists()) {
                return false;
            }
            return (this.attributes & ATTR_DIRECTORY) == ATTR_DIRECTORY;
        }
    
        @Override
        public boolean isFile() throws SmbException {
            if (this.fileLocator.isRootOrShare()) {
                return false;
            }
            exists();
            return (this.attributes & ATTR_DIRECTORY) == 0;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @return <code>true</code> if this <code>SmbFile</code> is not a directory
         * @throws SmbException if an error occurs while checking if this is a file
         */
    
        public boolean isFile() throws SmbException {
            if (getUncPath0().length() == 1) {
                return false;
            }
            exists();
            return (attributes & ATTR_DIRECTORY) == 0;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top