Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for newFileName (0.06 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

        private final String oldFileName;
        private final String newFileName;
    
        /**
         * Constructs a rename request.
         *
         * @param config the configuration
         * @param oldFileName the current file name
         * @param newFileName the new file name
         */
        public SmbComRename(final Configuration config, final String oldFileName, final String newFileName) {
            super(config, SMB_COM_RENAME);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertTrue(result.contains("newFileName=" + newFileName));
        }
    
        /**
         * Test with null configuration
         */
        @Test
        @DisplayName("Test constructor with null configuration throws NullPointerException")
        public void testConstructorWithNullConfig() {
            // Given
            String oldFileName = "old.txt";
            String newFileName = "new.txt";
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComRename.java

        private final int searchAttributes;
        private final String oldFileName;
        private final String newFileName;
    
        SmbComRename(final String oldFileName, final String newFileName) {
            command = SMB_COM_RENAME;
            this.oldFileName = oldFileName;
            this.newFileName = newFileName;
            searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            int newResumeKey = 0x5678;
            String newFilename = "newfile.txt";
    
            trans2FindNext2.reset(newResumeKey, newFilename);
    
            // Verify by writing parameters and checking the buffer
            byte[] buffer = new byte[256];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                    }
                    if (!fvd.getFile().getName().endsWith(".xml")) {
                        return
                    }
    
                    String newFileName = fvd.file.name.replaceAll('.xml$', '.html')
                    File outFile = fvd.relativePath.replaceLastName(newFileName).getFile(destDir)
                    outFile.parentFile.mkdirs()
    
                    execOps.javaexec {
                        mainClass.set(XslTransformer.name)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 04 07:24:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top