Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for listFiles (1.31 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

                // Clean up
                deleteRecursively(tempDir.toFile());
            }
        }
    
        private void deleteRecursively(File file) {
            if (file.isDirectory()) {
                File[] children = file.listFiles();
                if (children != null) {
                    for (File child : children) {
                        deleteRecursively(child);
                    }
                }
            }
            file.delete();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

         */
        public SmbFile[] listFiles(final String wildcard) throws SmbException {
            return SmbEnumerationUtil.listFiles(this, wildcard, ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM, null, null);
        }
    
        /**
         * List the contents of this SMB resource. The list returned will be
         * identical to the list returned by the parameterless <code>listFiles()</code>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

            // TODO: send bad request error
            throw AssertionError()
          }
          val file = File(baseDirectory.toString() + path)
          if (file.isDirectory) {
            serveDirectory(stream, file.listFiles()!!)
          } else if (file.exists()) {
            serveFile(stream, file)
          } else {
            send404(stream, path)
          }
        } catch (e: IOException) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. README.md

    CIFSContext authContext = context.withCredentials(auth);
    
    // Use authenticated context
    try (SmbFile file = new SmbFile("smb://server/share/", authContext)) {
        for (SmbFile f : file.listFiles()) {
            System.out.println(f.getName());
        }
    }
    ```
    
    ## Configuration
    
    ### Basic Configuration Properties
    
    ```properties
    # Connection settings
    jcifs.smb.client.connTimeout=35000
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/IoTestCase.java

            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;
              }
            }
          }
        }
    
        if (!file.delete()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         * @param handler the handler to process classes
         */
        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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    }
                    final Set<RequestData> requestDataSet = new HashSet<>();
                    if (includeContent) {
                        final File[] files = file.listFiles();
                        if (files != null) {
                            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         *            the handler to process resources
         */
        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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                }
                return list.toArray(new String[list.size()]);
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        static SmbFile[] listFiles(final SmbFile root, final String wildcard, final int searchAttributes, final SmbFilenameFilter fnf,
                final SmbFileFilter ff) throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top