Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for FileBasicInfo (0.24 sec)

  1. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

     */
    public class FileBasicInfo implements BasicFileInformation {
    
        private long createTime;
        private long lastAccessTime;
        private long lastWriteTime;
        private long changeTime;
        private int attributes;
    
        /**
         * Default constructor for decoding.
         */
        public FileBasicInfo() {
        }
    
        /**
         * Constructs file basic information.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

        @BeforeEach
        void setUp() {
            fileBasicInfo = new FileBasicInfo();
        }
    
        @Test
        @DisplayName("Test default constructor")
        void testDefaultConstructor() {
            // Verify default values
            assertEquals(0L, fileBasicInfo.getCreateTime());
            assertEquals(0L, fileBasicInfo.getLastAccessTime());
            assertEquals(0L, fileBasicInfo.getLastWriteTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            // When
            int bytesDecoded = fileBasicInfo.decode(buffer, bufferIndex, 40);
    
            // Then
            assertEquals(36, bytesDecoded); // Should decode 36 bytes
            assertEquals(TEST_CREATE_TIME, fileBasicInfo.getCreateTime());
            assertEquals(TEST_LAST_ACCESS_TIME, fileBasicInfo.getLastAccessTime());
            assertEquals(TEST_LAST_WRITE_TIME, fileBasicInfo.getLastWriteTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            response.setDataCount(buffer.length);
            response.readDataWireFormat(buffer, 0, buffer.length);
    
            FileBasicInfo info = response.getInfo(FileBasicInfo.class);
            assertNotNull(info);
            assertTrue(info instanceof FileBasicInfo);
        }
    
        @Test
        @DisplayName("Test getInfo with incompatible type throws CIFSException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.trans2;
    
    import jcifs.Configuration;
    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Trans2 SetFileInformation request message for modifying file metadata.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertTrue(result.contains("fid=" + TEST_FID));
        }
    
        @Test
        @DisplayName("Test with FileBasicInfo")
        void testWithFileBasicInfo() {
            // Create FileBasicInfo instance
            FileBasicInfo basicInfo =
                    new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, 0L, TEST_ATTRIBUTES | 0x80);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

     */
    
    package jcifs.internal.smb1.trans2;
    
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.fscc.FileInternalInfo;
    import jcifs.internal.fscc.FileStandardInfo;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.CloseableIterator;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.smb1.com.SmbComSetInformation;
    import jcifs.internal.smb1.com.SmbComSetInformationResponse;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformation;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

    import jcifs.internal.dtyp.ACE;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.dtyp.SecurityInfo;
    import jcifs.internal.fscc.BasicFileInformation;
    import jcifs.internal.fscc.FileBasicInfo;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.fscc.FileInternalInfo;
    import jcifs.internal.fscc.FileRenameInformation2;
    import jcifs.internal.fscc.FileStandardInfo;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top