- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for mkdirp (0.03 sec)
-
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
ThumbnailManager manager = new ThumbnailManager() { @Override public void init() { baseDir = new File(tempDir, "nonexistent/dir"); if (baseDir.mkdirs()) { logger.info("Created: {}", baseDir.getAbsolutePath()); } if (!baseDir.isDirectory()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* use {@code new File(context.getCacheDir(), "directoryname").mkdir()}, or, if you need an * arbitrary number of temporary directories, you might have to generate multiple directory * names in a loop until {@code mkdir()} returns {@code true}.) For JRE users, prefer {@link * java.nio.file.Files#createTempDirectory}, transforming it to a {@link File} using {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
} private void createRequiredDirectories() { // Create necessary directories for SuggestJob execution new File(tempDir, "WEB-INF/lib").mkdirs(); new File(tempDir, "WEB-INF/env/suggest/lib").mkdirs(); new File(tempDir, "WEB-INF/plugin").mkdirs(); } // Test execute method with successful execution public void test_execute_success() { createRequiredDirectories();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
public void test_execute_success() { // Create necessary directories in temp dir new File(tempDir, "WEB-INF/lib").mkdirs(); new File(tempDir, "WEB-INF/env/thumbnail/lib").mkdirs(); new File(tempDir, "WEB-INF/plugin").mkdirs(); thumbnailJob.numOfThreads(2); testProcessHelper.exitValue = 0;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* use {@code new File(context.getCacheDir(), "directoryname").mkdir()}, or, if you need an * arbitrary number of temporary directories, you might have to generate multiple directory * names in a loop until {@code mkdir()} returns {@code true}.) For JRE users, prefer {@link * java.nio.file.Files#createTempDirectory}, transforming it to a {@link File} using {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
maven-tests/mvnw
# prepare tmp dir if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; } trap clean HUP INT TERM EXIT else die "cannot create temp dir" fi mkdir -p -- "${MAVEN_HOME%/*}" # Download and Install Apache Maven verbose "Couldn't find MAVEN_HOME, downloading and installing it ..." verbose "Downloading from: $distributionUrl"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 12 12:05:57 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
this.propertiesFile = file; if (!this.propertiesFile.exists()) { final File parentDir = this.propertiesFile.getParentFile(); if (!parentDir.exists()) { if (!parentDir.mkdir()) { throw new FileAccessException("ECL0109", new Object[] { file.getAbsolutePath() }); } } else if (!parentDir.isDirectory()) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
String baseName = System.currentTimeMillis() + "-"; for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) { File tempDir = new File(baseDir, baseName + counter); if (tempDir.mkdir()) { return tempDir; } } throw new IllegalStateException( "Failed to create directory within " + TEMP_DIR_ATTEMPTS + " attempts (tried "
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
// Test with null execJob.testDeleteTempDir(null); // Test with existing directory File testDir = new File(tempDir, "test_delete_dir"); assertTrue(testDir.mkdir()); assertTrue(testDir.exists()); execJob.testDeleteTempDir(testDir); assertFalse(testDir.exists()); // Test with non-existent directory
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
} return true; } final File parentFile = outputFile.getParentFile(); if (!parentFile.exists()) { parentFile.mkdirs(); } if (!parentFile.isDirectory()) { logger.warn("Not found: {}", parentFile.getAbsolutePath()); return false; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.4K bytes - Viewed (0)