Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 81 for getAbsolutePath (0.17 sec)

  1. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            }
    
            protected String getResourcePath(final String path) {
                final File file = ResourceUtil.getResourceAsFileNoException(path);
                if (file != null) {
                    return file.getAbsolutePath();
                }
                return null;
            }
    
            @Override
            public Enumeration<String> getInitParameterNames() {
                throw new UnsupportedOperationException();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                        reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
    
                        if (VERBOSE) {
                            System.out.println("Check " + reloadableFile.getAbsolutePath() + " (interval: " + reloadInterval + "ms)");
                        }
                    }
                } catch (final Exception e) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                    return extractData.getContent();
                } catch (final IOException e) {
                    throw new ExtractException("Could not open " + outputFile.getAbsolutePath(), e);
                }
            }
            try {
                return new String(FileUtil.readBytes(outputFile), outputEncoding);
            } catch (final UnsupportedEncodingException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

        public void setUp() throws Exception {
            super.setUp();
            final File propFile = File.createTempFile("system", ".properties");
            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "".getBytes());
            ComponentUtil.register(new DynamicProperties(propFile), "systemProperties");
            crawlingConfigHelper = new CrawlingConfigHelper();
            crawlingConfigHelper.init();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                        for (final String p : pathList) {
                            final File f = new File(s.replace("${path}", p));
                            if (f.exists()) {
                                final String filePath = f.getAbsolutePath();
                                filePathMap.put(s, filePath);
                                if (logger.isDebugEnabled()) {
                                    logger.debug("generator path: {}", filePath);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    temp.deleteOnExit();
                    byte[] bytes = sums.get(extension).getBytes(StandardCharsets.UTF_8);
                    Files.write(
                            Paths.get(temp.getAbsolutePath()), bytes, StandardOpenOption.APPEND, StandardOpenOption.CREATE);
    
                    temporaryFiles.add(temp);
                    wagon.put(temp, remotePath + "." + extension);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

                    "Transfer listener still registered after getArtifact");
    
            /* putArtifact */
            File sampleFile = getTestFile("target/test-file");
            FileUtils.fileWrite(sampleFile.getAbsolutePath(), "sample file");
    
            assertFalse(
                    wagon.getTransferEventSupport().hasTransferListener(transferListener),
                    "Transfer listener is registered before test");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        public Object getValue(String expression) {
                            if (projectDir != null && "basedir".equals(expression)) {
                                return projectDir.getAbsolutePath();
                            }
                            return null;
                        }
                    },
                    PROJECT_PREFIXES,
                    true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

        }
    
        private FsObj[] getFsObj() {
            return Arrays.stream(File.listRoots()).map(f -> {
                final FsObj fsObj = new FsObj();
                fsObj.path = f.getAbsolutePath();
                fsObj.free = f.getFreeSpace();
                fsObj.total = f.getTotalSpace();
                fsObj.usable = f.getUsableSpace();
                fsObj.used = fsObj.total - fsObj.usable;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                ftpUser.setName(username);
                ftpUser.setPassword(password);
                final File file = ResourceUtil.getResourceAsFile("test");
                String path = file.getAbsolutePath();
                ftpUser.setHomeDirectory(path);
    
                userManager.save(ftpUser);
            }
    
            FtpServer server = factory.createServer();
            server.start();
            return server;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top