Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for getParentFile (0.35 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    logger.debug("The thumbnail file exists: {}", outputFile.getAbsolutePath());
                }
                return true;
            }
    
            final File parentFile = outputFile.getParentFile();
            if (!parentFile.exists()) {
                parentFile.mkdirs();
            }
            if (!parentFile.isDirectory()) {
                logger.warn("Not found: {}", parentFile.getAbsolutePath());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        public void test_getLogFilePath() {
            final File logFile = new File(systemHelper.getLogFilePath());
            assertEquals("logs", logFile.getName());
            assertEquals("target", logFile.getParentFile().getName());
            try {
                System.setProperty("fess.log.path", "logpath");
                assertEquals("logpath", systemHelper.getLogFilePath());
            } finally {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    logger.debug("The thumbnail file exists: {}", outputFile.getAbsolutePath());
                }
                return true;
            }
    
            final File parentFile = outputFile.getParentFile();
            if (!parentFile.exists()) {
                parentFile.mkdirs();
            }
            if (!parentFile.isDirectory()) {
                logger.warn("Not found: {}", parentFile.getAbsolutePath());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/SuggestJob.java

                cmdList.add("-p");
                cmdList.add(propFile.getAbsolutePath());
                createSystemProperties(cmdList, propFile);
    
                final File baseDir = new File(servletContext.getRealPath("/WEB-INF")).getParentFile();
    
                if (logger.isInfoEnabled()) {
                    logger.info("SuggestCreator: \nDirectory={}\nOptions={}", baseDir, cmdList);
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ResourceUtil.java

            if ("file".equals(url.getProtocol())) {
                final int num = path.split("/").length;
                dir = new File(getFileName(url));
                for (int i = 0; i < num; ++i) {
                    dir = dir.getParentFile();
                }
            } else {
                dir = new File(JarFileUtil.toJarFilePath(url));
            }
            return dir;
        }
    
        /**
         * Converts the resource URL to an external form.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                cmdList.add("-p");
                cmdList.add(propFile.getAbsolutePath());
                createSystemProperties(cmdList, propFile);
    
                final File baseDir = new File(servletContext.getRealPath("/WEB-INF")).getParentFile();
    
                if (logger.isInfoEnabled()) {
                    logger.info("ThumbnailGenerator: \nDirectory={}\nOptions={}", baseDir, cmdList);
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                throwValidationError(messages -> messages.addErrorsDesignFileIsUnsupportedType("designFileName"), this::asListHtml);
                return null;
            }
    
            final File parentFile = uploadFile.getParentFile();
            if (!parentFile.exists() && !parentFile.mkdirs()) {
                logger.warn("Could not create {}", parentFile.getAbsolutePath());
            }
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/CrawlJob.java

                cmdList.add("-p");
                cmdList.add(propFile.getAbsolutePath());
                createSystemProperties(cmdList, propFile);
    
                final File baseDir = new File(servletContext.getRealPath("/WEB-INF")).getParentFile();
    
                if (logger.isInfoEnabled()) {
                    logger.info("Crawler: \nDirectory={}\nOptions={}", baseDir, cmdList);
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/TraversalUtil.java

            assertArgumentNotNull("url", url);
    
            File file = URLUtil.toFile(url);
            final String[] paths = StringUtil.split(baseName, "/");
            for (final String path : paths) {
                file = file.getParentFile();
            }
            return file;
        }
    
        /**
         * Factory for creating instances of {@link Traverser}.
         *
         * @author koichik
         */
        public interface TraverserFactory {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                            final File jspFile = getDesignJspFile("/WEB-INF/view" + key + "/" + e.getValue());
                            if (!jspFile.exists()) {
                                jspFile.getParentFile().mkdirs();
                                final File baseJspFile = getDesignJspFile("/WEB-INF/view/" + e.getValue());
                                try {
                                    final Path jspPath = jspFile.toPath();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top