Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for canRead (0.23 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * exists, this method simply calls the <code>exists</code> method.
     *
     * @return <code>true</code> if the file is read-only
     */
    
        public boolean canRead() throws SmbException {
            if( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  2. src/main/java/jcifs/SmbResource.java

         * exists, this method simply calls the <code>exists</code> method.
         *
         * @return <code>true</code> if the file is read-only
         * @throws CIFSException
         */
        boolean canRead () throws CIFSException;
    
    
        /**
         * Turn off the read-only attribute of this file. This is shorthand for
         * <tt>setAttributes( getAttributes() &amp; ~ATTR_READONLY )</tt>.
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                }
                return new SmbWatchHandleImpl(openUnshared(O_RDONLY, READ_CONTROL | GENERIC_READ, DEFAULT_SHARING, 0, 1), filter, recursive);
            }
        }
    
    
        @Override
        public boolean canRead () throws SmbException {
            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
Back to top