Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setFilesystemInfoClass (7.14 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test setFilesystemInfoClass method")
        void testSetFilesystemInfoClass() {
            request = new Smb2QueryInfoRequest(mockConfig);
            byte testFileInfoClass = (byte) 0x05;
    
            request.setFilesystemInfoClass(testFileInfoClass);
    
            // Verify file info class was set and info type was set to SMB2_0_INFO_FILESYSTEM
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

        }
    
        /**
         * Sets the filesystem information class for the query
         *
         * @param fileInfoClass
         *            the fileInfoClass to set
         */
        public final void setFilesystemInfoClass(final byte fileInfoClass) {
            setInfoType(Smb2Constants.SMB2_0_INFO_FILESYSTEM);
            this.fileInfoClass = fileInfoClass;
        }
    
        /**
         * Sets additional information flags for the query
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                throws CIFSException {
            if (th.isSMB2()) {
                final Smb2QueryInfoRequest qreq = new Smb2QueryInfoRequest(th.getConfig());
                qreq.setFilesystemInfoClass(level);
                final Smb2QueryInfoResponse resp = withOpen(th, Smb2CreateRequest.FILE_OPEN, SmbConstants.FILE_READ_ATTRIBUTES,
                        SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE, qreq);
    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