Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for deleteDirectory (0.39 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
                        FileUtils.deleteDirectory(file);
                    } else {
                        file.delete();
                    }
                }
    
                it.remove();
            }
    
            warnAboutCleanup = false;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

        }
    
        private Artifact createTestPomArtifact(String directory) throws IOException {
            File testData = getTestFile(directory);
            FileUtils.deleteDirectory(testData);
            testData.mkdirs();
    
            Artifact artifact = artifactFactory.createProjectArtifact("test", "test", "1.0");
            artifact.setFile(new File(testData, "test-1.0.pom"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

            FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8));
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            FileUtils.deleteDirectory(testDir);
        }
    
        public void test_init() {
            final DictionaryManager dictionaryManager = new DictionaryManager();
            dictionaryManager.init();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            case SMB_COM_DELETE:
                return cfg.getBatchLimit("TreeConnectAndX.Delete");
            case SMB_COM_DELETE_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.DeleteDirectory");
            case SMB_COM_OPEN_ANDX:
                return cfg.getBatchLimit("TreeConnectAndX.OpenAndX");
            case SMB_COM_RENAME:
                return cfg.getBatchLimit("TreeConnectAndX.Rename");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                batchLimits[3] = Byte.parseByte( s );
            }
            if(( s = Config.getProperty( "jcifs.smb1.smb.client.TreeConnectAndX.DeleteDirectory" )) != null ) {
                batchLimits[4] = Byte.parseByte( s );
            }
            if(( s = Config.getProperty( "jcifs.smb1.smb.client.TreeConnectAndX.OpenAndX" )) != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

            // directory, so we shouldn't try to delete the directory as it will probably fail.
            if (exceptions == null) {
              dir.deleteDirectory(path);
            }
          } else {
            dir.deleteFile(path);
          }
    
          return exceptions;
        } catch (IOException e) {
          return addException(exceptions, e);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

            // directory, so we shouldn't try to delete the directory as it will probably fail.
            if (exceptions == null) {
              dir.deleteDirectory(path);
            }
          } else {
            dir.deleteFile(path);
          }
    
          return exceptions;
        } catch (IOException e) {
          return addException(exceptions, e);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top