- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 44 for makedirs (0.06 sec)
-
src/main/java/jcifs/smb/SmbFile.java
} try { if (isDirectory()) { // Ensure destination exists as directory if (!dest.exists()) { dest.mkdirs(); } else if (!dest.isDirectory()) { throw new CIFSException("Destination exists but is not a directory"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
return null; } final File parentFile = uploadFile.getParentFile(); if (!parentFile.exists() && !parentFile.mkdirs()) { logger.warn("Could not create {}", parentFile.getAbsolutePath()); } try { write(uploadFile.getAbsolutePath(), form.designFile.getFileData());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
// Test baseDir configuration public void test_baseDir_configuration() throws Exception { final File customBaseDir = new File(System.getProperty("java.io.tmpdir"), "custom_base"); customBaseDir.mkdirs(); try { generator.setBaseDir(customBaseDir); assertTrue("Base directory should be set", true); } finally { if (customBaseDir.exists()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) { 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;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
systemHelper.addDesignJspFileName("xxx", "yyy.jsp"); final File designJspFile = systemHelper.getDesignJspFile("/WEB-INF/view/yyy.jsp"); designJspFile.getParentFile().mkdirs(); FileUtil.writeBytes(designJspFile.getAbsolutePath(), "ok".getBytes()); fileList = systemHelper.refreshDesignJspFiles(); assertEquals(1, fileList.size());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
baseDir = new File(varPath, THUMBNAILS_DIR_NAME); } else { baseDir = ResourceUtil.getThumbnailPath().toFile(); } } if (baseDir.mkdirs()) { logger.info("Created: {}", baseDir.getAbsolutePath()); } if (!baseDir.isDirectory()) { throw new FessSystemException("Not found: " + baseDir.getAbsolutePath()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* -- or even that the caller can create it, but this method makes no such guarantees even for * non-root files. */ return; } parent.mkdirs(); if (!parent.isDirectory()) { throw new IOException("Unable to create parent directories of " + file); } } /**
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/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) -
src/main/java/jcifs/SmbResource.java
* (although in the future it may be possible to create shares). * * @throws CIFSException if an error occurs creating the directories */ void mkdirs() throws CIFSException; /** * Creates a directory with the path specified by this * <code>SmbResource</code>. For this method to be successful, the target
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
guava/src/com/google/common/io/Files.java
* -- or even that the caller can create it, but this method makes no such guarantees even for * non-root files. */ return; } parent.mkdirs(); if (!parent.isDirectory()) { throw new IOException("Unable to create parent directories of " + file); } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0)