- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setFileInfoClass (0.09 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} @Test @DisplayName("Test setFileInfoClass sets correct info type") void testSetFileInfoClassSetsCorrectInfoType() { request = new Smb2QueryInfoRequest(mockConfig); // Initially set a different info type request.setInfoType((byte) 0x05); // Call setFileInfoClass which should override info type request.setFileInfoClass((byte) 0x10); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
throw new RuntimeException(e); } } @Test @DisplayName("Test setFileInfoClass method") void testSetFileInfoClass() { request = new Smb2SetInfoRequest(mockConfig); byte testFileInfoClass = (byte) 0x10; request.setFileInfoClass(testFileInfoClass); // Verify file info class was set Field fileInfoClassField; try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java
} /** * Sets the file information class for the query * * @param fileInfoClass * the fileInfoClass to set */ public final void setFileInfoClass(final byte fileInfoClass) { setInfoType(Smb2Constants.SMB2_0_INFO_FILE); this.fileInfoClass = fileInfoClass; } /** * Sets the filesystem information class 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) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
} /** * Sets the file information class for the set info operation * * @param fileInfoClass * the fileInfoClass to set */ public void setFileInfoClass(final byte fileInfoClass) { this.fileInfoClass = fileInfoClass; } /** * Sets additional information flags for the set info operation * * @param additionalInformation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
try (SmbTreeHandleImpl th = ensureTreeConnected()) { if (th.isSMB2()) { final Smb2QueryInfoRequest req = new Smb2QueryInfoRequest(th.getConfig()); req.setFileInfoClass(FileInformation.FILE_INTERNAL_INFO); final Smb2QueryInfoResponse resp = withOpen(th, Smb2CreateRequest.FILE_OPEN, SmbConstants.FILE_READ_ATTRIBUTES,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)