Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for dirs (0.01 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                    baseDir = tempDir;
                    // Count expired files
                    int count = 0;
                    File[] dirs = baseDir.listFiles();
                    if (dirs != null) {
                        for (File dir : dirs) {
                            if (dir.isDirectory() && dir.getName().startsWith("_")) {
                                count++;
                            }
                        }
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            if (tempDir != null && Files.exists(tempDir)) {
                deleteDirectory(tempDir);
            }
            super.tearDown();
        }
    
        private void deleteDirectory(Path dir) throws IOException {
            Files.walk(dir).sorted((a, b) -> b.compareTo(a)).forEach(path -> {
                try {
                    Files.delete(path);
                } catch (IOException e) {
                    // Ignore
                }
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        protected static final String SPNEGO_INITIALIZED = "spnego.initialized";
    
        /** Configuration key for directories to exclude from SPNEGO authentication. */
        protected static final String SPNEGO_EXCLUDE_DIRS = "spnego.exclude.dirs";
    
        /** Configuration key for enabling delegation in SPNEGO authentication. */
        protected static final String SPNEGO_ALLOW_DELEGATION = "spnego.allow.delegation";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertNotNull(confPath);
    
            // Test with multiple names
            confPath = ResourceUtil.getConfPath("dir1", "dir2", "file.conf");
            assertNotNull(confPath);
            assertTrue(confPath.toString().contains("dir1"));
            assertTrue(confPath.toString().contains("dir2"));
            assertTrue(confPath.toString().contains("file.conf"));
        }
    
        public void test_getConfOrClassesPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                if (e != null) {
                    logger.warn("I/O exception on {}", dir, e);
                }
                deleteEmptyDirectory(dir);
                return FileVisitResult.CONTINUE;
            }
    
            private boolean deleteEmptyDirectory(final Path dir) throws IOException {
                if (dir == null) {
                    return false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            super.tearDown();
        }
    
        private void deleteDirectory(File dir) {
            if (dir.isDirectory()) {
                File[] files = dir.listFiles();
                if (files != null) {
                    for (File file : files) {
                        deleteDirectory(file);
                    }
                }
            }
            dir.delete();
        }
    
        // Test getExecuteType method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

        private void deleteDirectory(File dir) {
            if (dir.isDirectory()) {
                File[] children = dir.listFiles();
                if (children != null) {
                    for (File child : children) {
                        deleteDirectory(child);
                    }
                }
            }
            dir.delete();
        }
    
        // Mock ServletContext implementation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

        }
    
        private void deleteDirectory(File dir) {
            File[] files = dir.listFiles();
            if (files != null) {
                for (File file : files) {
                    if (file.isDirectory()) {
                        deleteDirectory(file);
                    } else {
                        file.delete();
                    }
                }
            }
            dir.delete();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesTest.java

        assertEquals(1, result.length);
      }
    
      public void testPredicates() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File dir = asciiFile.getParentFile();
        assertTrue(Files.isDirectory().apply(dir));
        assertFalse(Files.isFile().apply(dir));
    
        assertFalse(Files.isDirectory().apply(asciiFile));
        assertTrue(Files.isFile().apply(asciiFile));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

         */
        boolean is(String propertyKey);
    
        /**
         * Get the value for the key 'lasta_di.smart.deploy.mode'. <br>
         * The value is, e.g. warm <br>
         * comment: The mode of Lasta Di's smart-deploy, should be cool in production (e.g. hot, cool, warm)
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getLastaDiSmartDeployMode();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top