Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for listFiles (0.06 sec)

  1. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

            Path dir = fs.getPath("dir");
            assertEquals(6, MoreFiles.listFiles(dir).size());
    
            method.delete(dir);
            method.assertDeleteSucceeded(dir);
    
            assertEquals(
                "contents of /dontdelete deleted by delete method " + method,
                3,
                MoreFiles.listFiles(fs.getPath("/dontdelete")).size());
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

            Path dir = fs.getPath("dir");
            assertEquals(6, MoreFiles.listFiles(dir).size());
    
            method.delete(dir);
            method.assertDeleteSucceeded(dir);
    
            assertEquals(
                "contents of /dontdelete deleted by delete method " + method,
                3,
                MoreFiles.listFiles(fs.getPath("/dontdelete")).size());
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ResourceUtil.java

                return new File[0];
            }
            final File libDir = new File(libPath);
            if (!libDir.exists()) {
                return new File[0];
            }
            return libDir.listFiles((file, name) -> name.startsWith(namePrefix));
        }
    
        public static File[] getPluginJarFiles(final String namePrefix) {
            return getPluginJarFiles((file, name) -> name.startsWith(namePrefix));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            final List<File> fileList = new ArrayList<>(
                    FileUtils.listFiles(new File(baseDir, "images"), fessConfig.getSupportedUploadedMediaExtentionsAsArray(), true));
            fileList.addAll(FileUtils.listFiles(new File(baseDir, "css"), fessConfig.getSupportedUploadedCssExtentionsAsArray(), true));
            fileList.addAll(FileUtils.listFiles(new File(baseDir, "js"), fessConfig.getSupportedUploadedJsExtentionsAsArray(), true));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                    final Set<RequestData> requestDataSet = new HashSet<>();
                    if (includeContent) {
                        try {
                            final FTPFile[] files = client.listFiles(ftpInfo.getParent(), FTPFileFilters.NON_NULL);
                            validateRequest(client);
                            for (final FTPFile f : files) {
    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/job/ExecJob.java

            }
        }
    
        protected void appendJarFile(final String cpSeparator, final StringBuilder buf, final File libDir, final String basePath) {
            final File[] jarFiles = libDir.listFiles((FilenameFilter) (dir, name) -> name.toLowerCase().endsWith(".jar"));
            if (jarFiles != null) {
                for (final File file : jarFiles) {
                    buf.append(cpSeparator);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MoreFiles.java

       *     <i>(optional specific exception)</i>
       * @throws IOException if an I/O error occurs
       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
        try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir)) {
          return ImmutableList.copyOf(stream);
        } catch (DirectoryIteratorException e) {
          throw e.getCause();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/MoreFiles.java

       *     <i>(optional specific exception)</i>
       * @throws IOException if an I/O error occurs
       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
        try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir)) {
          return ImmutableList.copyOf(stream);
        } catch (DirectoryIteratorException e) {
          throw e.getCause();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            try {
                final File aliasConfigDir = ResourceUtil.getResourceAsFile(aliasConfigDirPath);
                if (aliasConfigDir.isDirectory()) {
                    stream(aliasConfigDir.listFiles((dir, name) -> name.endsWith(".json"))).of(stream -> stream.forEach(f -> {
                        String aliasName = f.getName().replaceFirst(".json$", "");
                        if (index.equals(DOC_INDEX)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  10. RELEASE.md

            `tf.contrib.data.make_csv_dataset()`. [tf.data] Remove
            `num_parallel_parser_calls` argument from
            `tf.contrib.data.make_csv_dataset()`.
        *   `tf.data.Dataset.list_files()` raises an exception at initialization
            time if the argument matches no files.
        *   Renamed BigTable class to BigtableTable for clarity
        *   Document use of the Cloud Bigtable API
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top