- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for canWrite (0.05 sec)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
* @return <code>true</code> if the resource exists is not marked * read-only * @throws SmbException if an error occurs while checking write permissions */ public boolean canWrite() throws SmbException { if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for writing? return true; } return exists() && (attributes & ATTR_READONLY) == 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
return true; } return exists(); // try opening and catch sharing violation? } @Override public boolean canWrite() throws SmbException { if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for writing? return true; } return exists() && (this.attributes & ATTR_READONLY) == 0; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)