- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setReadOnly (0.05 sec)
-
src/test/java/jcifs/SmbResourceTest.java
// When/Then assertDoesNotThrow(() -> { mockResource.setReadOnly(); mockResource.setReadWrite(); }, "File modification operations should not throw exception"); verify(mockResource).setReadOnly(); verify(mockResource).setReadWrite(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* getAttributes() | ATTR_READ_ONLY )</code>. * * @throws CIFSException if an error occurs modifying the resource */ void setReadOnly() throws CIFSException; /** * Set the attributes of this file. Attributes are composed into a * bitset by bitwise ORing the <code>ATTR_*</code> constants. Setting the
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbFile.java
} catch (final CIFSException e) { throw SmbException.wrap(e); } } @Override public void setReadOnly() throws SmbException { setAttributes(getAttributes() | ATTR_READONLY); } @Override public void setReadWrite() throws SmbException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* getAttributes() | ATTR_READ_ONLY )}. * * @throws SmbException if an error occurs while setting the read-only flag */ public void setReadOnly() throws SmbException { setAttributes(getAttributes() | ATTR_READONLY); } /** * Turn off the read-only attribute of this file. This is shorthand for
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)