Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setReadWrite (0.09 sec)

  1. src/main/java/jcifs/SmbResource.java

        /**
         * Turn off the read-only attribute of this file. This is shorthand for
         * <tt>setAttributes( getAttributes() &amp; ~ATTR_READONLY )</tt>.
         *
         * @throws CIFSException
         */
        void setReadWrite () throws CIFSException;
    
    
        /**
         * Make this file read-only. This is shorthand for <tt>setAttributes(
         * getAttributes() | ATTR_READ_ONLY )</tt>.
         *
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbFile.java

                if ( !exists() ) {
                    throw new SmbException(NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND, null);
                }
    
                if ( ( this.attributes & ATTR_READONLY ) != 0 ) {
                    setReadWrite();
                }
    
                /*
                 * Delete or Delete Directory Request / Response
                 */
    
                if ( log.isDebugEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

                attrExpiration = System.currentTimeMillis() + attrExpirationPeriod;
                isExists = true;
            }
    
            if(( attributes & ATTR_READONLY ) != 0 ) {
                setReadWrite();
            }
    
            /*
             * Delete or Delete Directory Request / Response
             */
    
            if( log.level >= 3 )
                log.println( "delete: " + fileName );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top