Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for isDirectory (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * Tests to see if the file this <code>SmbFile</code> represents is a directory.
     *
     * @return <code>true</code> if this <code>SmbFile</code> is a directory
     */
    
        public boolean isDirectory() throws SmbException {
            if( getUncPath0().length() == 1 ) {
                return true;
            }
            if (!exists()) return false;
            return ( attributes & ATTR_DIRECTORY ) == ATTR_DIRECTORY;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  2. 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: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

            for (final File file : dir.listFiles()) {
                final String fileName = file.getName();
                if (file.isDirectory()) {
                    traverseFileSystem(file, ClassUtil.concatName(packageName, fileName), handler);
                } else if (fileName.endsWith(".class")) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. 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()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                    } finally {
                        FileUtil.deleteInBackground(tempFile);
                    }
                }
            } else if (file.isDirectory() || file.isSymbolicLink()) {
                final Set<RequestData> requestDataSet = new HashSet<>();
                if (includeContent) {
                    try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    config.disableESLogger();
                    runner.onBuild((number, settingsBuilder) -> {
                        final File moduleDir = new File(esDir, "modules");
                        if (moduleDir.isDirectory()) {
                            settingsBuilder.put("path.modules", moduleDir.getAbsolutePath());
                        } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static File pickAnyJarFile() throws IOException {
        for (ClassPath.LocationInfo location :
            ClassPath.locationsFrom(ClassPathTest.class.getClassLoader())) {
          if (!location.file().isDirectory() && location.file().exists()) {
            return location.file();
          }
        }
        throw new AssertionError("Failed to find a jar file");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      private static File pickAnyJarFile() throws IOException {
        for (ClassPath.LocationInfo location :
            ClassPath.locationsFrom(ClassPathTest.class.getClassLoader())) {
          if (!location.file().isDirectory() && location.file().exists()) {
            return location.file();
          }
        }
        throw new AssertionError("Failed to find a jar file");
      }
    
      @AndroidIncompatible // Path (for symlink creation)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    Path path = topDirectory.resolve(stripLeadingAndTrailingQuotes(arg));
                    if (Files.isDirectory(path)) {
                        topDirectory = path;
                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
                        if (!Files.isDirectory(topDirectory)) {
                            System.err.println("Directory " + topDirectory
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top