Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 175 for isfile (0.05 sec)

  1. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

            super.processWebInfLib();
    
            final WebResource[] possibleJars = listResources("/WEB-INF/plugin", false);
    
            for (final WebResource possibleJar : possibleJars) {
                if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) {
                    try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) {
                        final Manifest manifest = jarFile.getManifest();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                        if (outputFile.isFile() && !outputFile.delete()) {
                            logger.warn("Failed to delete output file: {}", outputFile.getAbsolutePath());
                        }
                        return false;
                    }
    
                    if (outputFile.isFile() && outputFile.length() == 0) {
                        logger.warn("Thumbnail File is empty. ID is {}", thumbnailId);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

         *             If the file cannot be accessed or created.
         */
        public DynamicProperties(final Path path) {
            this(path == null ? null : path.toFile());
        }
    
        /**
         * Constructs a {@code DynamicProperties} instance with the specified {@link File}.
         *
         * @param file
         *            The {@link File} representing the properties file. If {@code null}, a {@link FileAccessException} is thrown.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            if (path == null) {
                logger.warn("{} was not found.", path);
                return null;
            }
            final File osddFile = new File(path);
            if (!osddFile.isFile()) {
                logger.warn("{} was not a file.", path);
                return null;
            }
            return osddFile;
        }
    
        /**
         * Checks if OSDD link is enabled.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                            e);
                }
    
                if (file.isFile()) {
                    try {
                        fixTimestamp(file, readMetadata(file), repositoryMetadata.getMetadata());
                    } catch (RepositoryMetadataReadException e) {
                        // will be reported via storeInlocalRepository
                    }
                }
            } else {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileTest.java

                // Arrange & Act
                SmbFile file = new SmbFile(url, mockCifsContext);
    
                // Assert
                assertNotNull(file);
                assertEquals(mockCifsContext, file.getContext());
            }
    
            @Test
            void testConstructorWithStringURL() throws MalformedURLException {
                // Arrange & Act
                SmbFile file = new SmbFile("smb://localhost/share/test.txt", mockCifsContext);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            try {
                final File outputFile = new File(baseDir, entity.getPath());
                final File noImageFile = new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX);
                if (!noImageFile.isFile() || systemHelper.getCurrentTimeAsLong() - noImageFile.lastModified() > noImageExpired) {
                    if (noImageFile.isFile() && !noImageFile.delete()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile file = new SmbFile(baseUrl + "shared/zerobyte_" + timestamp + ".txt", context);
    
            // Create empty file
            file.createNewFile();
    
            // Verify properties
            assertTrue(file.exists(), "Empty file should exist");
            assertEquals(0, file.length(), "Empty file should have zero length");
            assertTrue(file.isFile(), "Should be identified as file");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbFile = mock(SmbFile.class);
            smbFile.tree = smbTree;
            smbFile.fid = 1;
            smbFile.tree_num = 1;
    
            when(smbFile.isFile()).thenReturn(true);
            when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt");
            when(smbFile.isOpen()).thenReturn(true);
    
            // Mock the open method to do nothing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. 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("{} is found.", s);
                    }
                    return found;
                });
            } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top