Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for listFiles (0.07 sec)

  1. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                }
                return list.toArray(new String[list.size()]);
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        static SmbFile[] listFiles ( SmbFile root, String wildcard, int searchAttributes, final SmbFilenameFilter fnf, final SmbFileFilter ff )
                throws SmbException {
            try ( CloseableIterator<SmbResource> it = doEnum(
                root,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  2. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

        private static void cleanPsOutputAndThreaddumpFilesFromPreviousRun(File rootProjectDir) {
            if (executionMode == ExecutionMode.KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS) {
                File[] psOutputs = rootProjectDir.listFiles((__, name) -> name.endsWith(".psoutput") || name.endsWith(".threaddump"));
                if (psOutputs != null) {
                    Stream.of(psOutputs).forEach(File::delete);
                }
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/io/Files.java

            @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));
                }
              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    }
                    final Set<RequestData> requestDataSet = new HashSet<>(100);
                    if (includeContent) {
                        final SmbFile[] files = file.listFiles();
                        if (files != null) {
                            for (final SmbFile f : files) {
                                final String chileUri = f.toString();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

            @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));
                }
              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         * @param handler
         *            クラスを処理するハンドラ
         */
        protected static void traverseFileSystem(final File dir, final String packageName, final ClassHandler handler) {
            for (final File file : dir.listFiles()) {
                final String fileName = file.getName();
                if (file.isDirectory()) {
                    traverseFileSystem(file, ClassUtil.concatName(packageName, fileName), handler);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

            SimpleDateFormat sdf = new SimpleDateFormat("MM/d/yy h:mm a");
            GregorianCalendar cal = new GregorianCalendar();
    
            sdf.setCalendar(cal);
    
            dirents = dir.listFiles();
            if ( log.isDebugEnabled() ) {
                log.debug(dirents.length + " items listed");
            }
            sorted = new LinkedList<>();
            if ( ( fmt = req.getParameter("fmt") ) == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         * @param handler
         *            リソースを処理するハンドラ
         */
        protected static void traverseFileSystem(final File rootDir, final File baseDir, final ResourceHandler handler) {
            for (final File file : baseDir.listFiles()) {
                if (file.isDirectory()) {
                    traverseFileSystem(rootDir, file, handler);
                } else {
                    final int pos = FileUtil.getCanonicalPath(rootDir).length();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top