Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for canWrite (0.49 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top