Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 78 for isDirectory (0.06 sec)

  1. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                }
            }
    
            Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/"));
            if (Files.isDirectory(filePath)) {
                filePath = filePath.resolve("index.html");
            }
            if (Files.exists(filePath)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      val files =
        try {
          list(directory)
        } catch (fnfe: FileNotFoundException) {
          return
        }
      for (file in files) {
        try {
          if (metadata(file).isDirectory) {
            deleteContents(file)
          }
    
          delete(file)
        } catch (ioe: IOException) {
          if (exception == null) {
            exception = ioe
          }
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. 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("Parent directory not found: {}", parentFile.getAbsolutePath());
                return false;
            }
    
            return process(thumbnailId, responseData -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                Path mvnDir = projectDir.resolve(".mvn");
                assertTrue(Files.exists(mvnDir), ".mvn directory should be created");
                assertTrue(Files.isDirectory(mvnDir), ".mvn should be a directory");
            }
    
            @Test
            @DisplayName("should create .mvn directory when model version is 4.1.0")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                return true;
            }
    
            final File parentFile = outputFile.getParentFile();
            if (!parentFile.exists()) {
                parentFile.mkdirs();
            }
            if (!parentFile.isDirectory()) {
                logger.warn("Parent directory not found: {}", parentFile.getAbsolutePath());
                return false;
            }
    
            return process(thumbnailId, responseData -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                        responseData.setHttpStatusCode(Constants.FORBIDDEN_STATUS_CODE);
                        responseData.setMimeType(APPLICATION_OCTET_STREAM);
                    }
                } else if (file.isDirectory()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Parsing SmbFile Directory: {}", filePath);
                    }
                    final Set<RequestData> requestDataSet = new HashSet<>(100);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @return <code>true</code> if this <code>SmbFile</code> is a directory
         * @throws SmbException if an error occurs while checking if this is a directory
         */
    
        public boolean isDirectory() throws SmbException {
            if (getUncPath0().length() == 1) {
                return true;
            }
            if (!exists()) {
                return false;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                        responseData.setHttpStatusCode(Constants.FORBIDDEN_STATUS_CODE);
                        responseData.setMimeType(APPLICATION_OCTET_STREAM);
                    }
                } else if (file.isDirectory()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Parsing SmbFile Directory: {}", filePath);
                    }
                    final Set<RequestData> requestDataSet = new HashSet<>(100);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            File localRepoDir = request.getLocalRepositoryPath();
    
            logger.debug("Using local repository at {}", localRepoDir);
    
            localRepoDir.mkdirs();
    
            if (!localRepoDir.isDirectory()) {
                throw new IOException("Could not create local repository at " + localRepoDir);
            }
        }
    
        private <T> Collection<T> getExtensionComponents(Collection<MavenProject> projects, Class<T> role) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
  10. docs/smb3-features/01-smb3-lease-design.md

        
        if (context.getConfig().isUseLeases() && tree.getSession().supports(SMB3_0)) {
            // Request lease when opening file
            leaseManager = tree.getSession().getLeaseManager();
            int requestedState = isDirectory() ? 
                Smb2LeaseState.SMB2_LEASE_READ_HANDLE :
                Smb2LeaseState.SMB2_LEASE_FULL;
                
            leaseKey = leaseManager.requestLease(getPath(), requestedState);
            
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top