Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for isDirectory (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

            }
            return null;
        }
    
        private static Path findTool(String toolName, Path installDir) {
            Path bin = installDir.resolve("bin"); // NOI18N
            if (Files.isDirectory(bin)) {
                if (Os.IS_WINDOWS) {
                    Path tool = bin.resolve(toolName + ".exe");
                    if (Files.exists(tool)) {
                        return tool;
                    }
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

          new SuccessorsFunction<File>() {
            @Override
            public Iterable<File> successors(File file) {
              // check isDirectory() just because it may be faster than listFiles() on a non-directory
              if (file.isDirectory()) {
                File[] files = file.listFiles();
                if (files != null) {
                  return Collections.unmodifiableList(Arrays.asList(files));
                }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

            assertArgumentNotNull("handler", handler);
    
            final int pos = prefix.length();
            for (final JarEntry entry : iterable(jarFile.entries())) {
                if (!entry.isDirectory()) {
                    final String entryName = entry.getName().replace('\\', '/');
                    if (!entryName.startsWith(prefix)) {
                        continue;
                    }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                if (selectedProject.isFile()) {
                    return selectedProject.equals(project.getFile());
                } else if (selectedProject.isDirectory()) {
                    return selectedProject.equals(project.getBasedir());
                }
            }
    
            return false;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/SuggestJob.java

            final String userDir = System.getProperty("user.dir");
            final File targetDir = new File(userDir, "target");
            final File targetClassesDir = new File(targetDir, "classes");
            if (targetClassesDir.isDirectory()) {
                buf.append(cpSeparator);
                buf.append(targetClassesDir.getAbsolutePath());
            }
            // WEB-INF/lib
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                        return true;
                    }
                }
    
                for (Path outputFile : (Iterable<Path>) outputFiles::iterator) {
                    if (Files.isDirectory(outputFile)) {
                        continue;
                    }
    
                    long outputFileLastModified =
                            Files.getLastModifiedTime(outputFile).toMillis();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

            }
            try (ZipInputStream zis = new ZipInputStream(Files.newInputStream(jarPath))) {
                ZipEntry entry;
                while ((entry = zis.getNextEntry()) != null) {
                    if (!entry.isDirectory()) {
                        final String[] names = StreamUtil.split(entry.getName(), "/")
                                .get(stream -> stream.filter(s -> !"..".equals(s)).toArray(n -> new String[n]));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

            // TODO: Implement this with the worker API
            workerLeaseService.runAsIsolatedTask({
                source.visit { FileVisitDetails fvd ->
                    if (fvd.isDirectory()) {
                        return
                    }
                    if (!fvd.getFile().getName().endsWith(".xml")) {
                        return
                    }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top