Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for inDirectory (0.2 sec)

  1. android/guava/src/com/google/common/reflect/ClassPath.java

          } catch (SecurityException e) {
            logger.warning("Cannot access " + file + ": " + e);
            // TODO(emcmanus): consider whether to log other failure cases too.
            return;
          }
          if (file.isDirectory()) {
            scanDirectory(file, builder);
          } else {
            scanJar(file, scannedUris, builder);
          }
        }
    
        private void scanJar(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

      public void testPredicates() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File dir = asciiFile.getParentFile();
        assertTrue(Files.isDirectory().apply(dir));
        assertFalse(Files.isFile().apply(dir));
    
        assertFalse(Files.isDirectory().apply(asciiFile));
        assertTrue(Files.isFile().apply(asciiFile));
      }
    
      /** Returns a root path for the file system. */
      private static File root() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. impl/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();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/IoTestCase.java

            }
          } finally {
            out.close();
          }
        } finally {
          in.close();
        }
      }
    
      @CanIgnoreReturnValue
      private boolean delete(File file) {
        if (file.isDirectory()) {
          File[] files = file.listFiles();
          if (files != null) {
            for (File f : files) {
              if (!delete(f)) {
                return false;
              }
            }
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                if (includeModules) {
                    for (String module : project.getModules()) {
                        File modulePom = new File(pom.getParentFile(), module);
                        if (modulePom.isDirectory()) {
                            modulePom = new File(modulePom, "pom.xml");
                        }
                        projects.add(projectBuilder.build(modulePom, configuration).getProject());
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. 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("Not found: {}", parentFile.getAbsolutePath());
                return false;
            }
    
            return process(thumbnailId, responseData -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesTest.java

      public void testPredicates() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File dir = asciiFile.getParentFile();
        assertTrue(Files.isDirectory().apply(dir));
        assertFalse(Files.isFile().apply(dir));
    
        assertFalse(Files.isDirectory().apply(asciiFile));
        assertTrue(Files.isFile().apply(asciiFile));
      }
    
      /** Returns a root path for the file system. */
      private static File root() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top