Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for SmbFile (0.18 sec)

  1. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

        }
    
    
        /**
         * @param fe
         * @return
         * @throws MalformedURLException
         */
        @Override
        protected SmbResource adapt ( FileEntry e ) throws MalformedURLException {
            return new SmbFile(
                getParent(),
                e.getName(),
                true,
                SmbConstants.TYPE_FILESYSTEM,
                e.getAttributes(),
                e.createTime(),
                e.lastModified(),
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Handler.java

        }
    
    
        @Override
        public URLConnection openConnection ( URL u ) throws IOException {
            if ( log.isDebugEnabled() ) {
                log.debug("Opening file " + u);
            }
            return new SmbFile(u, getTransportContext());
        }
    
    
        /**
         * @return
         */
        private CIFSContext getTransportContext () {
            if ( this.transportContext == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 09:14:24 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/ShareEnumIterator.java

                    continue;
                }
            }
            return null;
        }
    
    
        private SmbResource adapt ( FileEntry e ) throws MalformedURLException {
            return new SmbFile(this.parent, e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L, 0L, 0L);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.Iterator#hasNext()
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

        Object lock;
    
        TransactNamedPipeInputStream( SmbNamedPipe pipe ) throws SmbException,
                    MalformedURLException, UnknownHostException {
            super( pipe, ( pipe.pipeType & 0xFFFF00FF ) | SmbFile.O_EXCL );
            this.dcePipe = ( pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT ) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            lock = new Object();
        }
        public int read() throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/Config.java

         *     at java.net.URL.<init>(URL.java:480)
         *     at java.net.URL.<init>(URL.java:376)
         *     at java.net.URL.<init>(URL.java:330)
         *     at jcifs.smb1.smb1.SmbFile.<init>(SmbFile.java:355)
         *     ...
         * </pre><blockquote>
         */
    
        public static void registerSmbURLHandler() {
            String ver, pkgs;
    
            ver = System.getProperty( "java.version" );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

    import jcifs.util.Hexdump;
    
    
    /**
     * 
     * 
     */
    public class SmbComNTCreateAndX extends AndXServerMessageBlock implements Request<SmbComNTCreateAndXResponse> {
    
        // share access specified in SmbFile
    
        // create disposition
    
        /*
         * Creates a new file or supersedes the existing one
         */
    
        static final int FILE_SUPERSEDE = 0x0;
    
        /*
         * Open the file or fail if it does not exist
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NetServerEnumIterator.java

        /**
         * @param parent
         * @param th
         * @param wildcard
         * @param searchAttributes
         * @param filter
         * @throws CIFSException
         * 
         */
        public NetServerEnumIterator ( SmbFile parent, SmbTreeHandleImpl th, String wildcard, int searchAttributes, ResourceNameFilter filter )
                throws CIFSException {
            this.parent = parent;
            this.nameFilter = filter;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTree.java

         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
        boolean inDfs, inDomainDfs;
        int tree_num; // used by SmbFile.isOpen
    
        SmbTree( SmbSession session, String share, String service ) {
            this.session = session;
            this.share = share.toUpperCase();
            if( service != null && service.startsWith( "??" ) == false ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

            int shortNameLength;
            String shortName;
            String filename;
    
            public String getName() {
                return filename;
            }
            public int getType() {
                return SmbFile.TYPE_FILESYSTEM;
            }
            public int getAttributes() {
                return extFileAttributes;
            }
            public long createTime() {
                return creationTime;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         */
        int getMaxRequestRetries ();
    
    
        /**
         * Property <tt>jcifs.smb.client.strictResourceLifecycle</tt> (bool, default false)
         * 
         * If enabled, SmbFile instances starting with their first use will hold a reference to their tree.
         * This means that trees/sessions/connections won't be idle-disconnected even if there are no other active
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
Back to top