- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 49 for getParentFile (0.14 sec)
-
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
// meta-versions are not valid <version/> values...don't write them. metadata.setVersion(null); } if (changed || !metadataFile.exists()) { metadataFile.getParentFile().mkdirs(); try (OutputStream output = Files.newOutputStream(metadataFile.toPath())) { MetadataStaxWriter mappingWriter = new MetadataStaxWriter();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
assertThrows(IllegalArgumentException.class, () -> Resources.getResource(tempFile.getName())); // Now set the context loader to one that should find the resource. URL baseUrl = tempFile.getParentFile().toURI().toURL(); URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl}); ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader(); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
} private void baseDirectory(MavenExecutionRequest request) { if (request.getBaseDirectory() == null && request.getPom() != null) { request.setBaseDirectory(request.getPom().getAbsoluteFile().getParentFile()); } } /*if_not[MAVEN4]*/ @Override @Deprecated public MavenExecutionRequest populateFromSettings(MavenExecutionRequest request, Settings settings)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
} if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) { // probably URISyntaxException or IllegalArgumentException // fall back to copying URLs to files in the testDir == null block below }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
assertThrows(IllegalArgumentException.class, () -> Resources.getResource(tempFile.getName())); // Now set the context loader to one that should find the resource. URL baseUrl = tempFile.getParentFile().toURI().toURL(); URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl}); ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader(); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 9.6K bytes - Viewed (0) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 10.6K bytes - Viewed (0) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jun 23 04:13:47 UTC 2024 - 10K bytes - Viewed (0)