Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for canWrite (0.07 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. 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)
Back to top