- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for getAbsolutePath (0.76 sec)
-
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
if (propFile.delete() && logger.isDebugEnabled()) { logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath()); } systemProperties.reload(propFile.getAbsolutePath()); propFile.deleteOnExit(); } catch (final Exception e) { logger.warn("Failed to create system properties file.", e);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
file1 = File.createTempFile("synonym", ".txt"); FileUtil.writeBytes(file1.getAbsolutePath(), "a1=>A1\nb1,b2 => B1\nc1 => C1, C2\nx1,X1\ny1, Y1, y2" .getBytes(Constants.UTF_8)); // TODO set up opensearch and dictionaryManager synonymFile = new SynonymFile("1", file1.getAbsolutePath(), new Date()); } @Override public void tearDown() throws Exception {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
@Override public void setUp() throws Exception { super.setUp(); propertiesFile = File.createTempFile("test", ".properties"); FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]); propertiesFile.deleteOnExit(); DynamicProperties systemProps = new DynamicProperties(propertiesFile); ComponentUtil.register(systemProps, "systemProperties");
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.1K bytes - Viewed (0) -
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;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
if (baseDir.mkdirs()) { logger.info("Created: {}", baseDir.getAbsolutePath()); } if (!baseDir.isDirectory()) { throw new FessSystemException("Not found: " + baseDir.getAbsolutePath()); } if (logger.isDebugEnabled()) { logger.debug("Thumbnail Directory: {}", baseDir.getAbsolutePath()); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId); if (ownTmpDir.mkdirs()) { cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath()); cmdList.add("-Dpdfbox.fontcache=" + ownTmpDir.getAbsolutePath()); } else { ownTmpDir = null; } } cmdList.add(ComponentUtil.getThumbnailManager().getThumbnailPathOption());
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
CopyUtil.copy(is, os); } catch (final Exception e) { if (tempFile.exists() && !tempFile.delete()) { logger.warn("Failed to delete {}.", tempFile.getAbsolutePath()); } logger.debug("Failed to copy {}", filename, e); throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, filename), this::asListHtml);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
final List<String> fileNameItems = new ArrayList<>(); final List<File> fileList = getAccessibleFileList(baseDir); final int length = baseDir.getAbsolutePath().length(); for (final File file : fileList) { fileNameItems.add(file.getAbsolutePath().substring(length)); } return fileNameItems; } // ===================================================================================
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/FessBoot.java
final String varPath = System.getProperty(FESS_VAR_PATH); if (varPath != null) { tomcatBoot.atBaseDir(new File(varPath, "webapp").getAbsolutePath()); } else if (tempPath != null) { tomcatBoot.atBaseDir(new File(tempPath, "webapp").getAbsolutePath()); } final String tomcatConfigPath = getTomcatConfigPath(); if (tomcatConfigPath != null) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
final File targetClassesDir = new File(targetDir, "classes"); if (targetClassesDir.isDirectory()) { buf.append(cpSeparator); buf.append(targetClassesDir.getAbsolutePath()); } // WEB-INF/lib appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")), "WEB-INF" + File.separator + "lib" + File.separator);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10.5K bytes - Viewed (0)