Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for stripPathConsumed (0.27 sec)

  1. src/test/java/jcifs/tests/DfsTest.java

                }
    
    
                @Override
                public String getServer () {
                    return getTestServer();
                }
    
    
                @Override
                public void stripPathConsumed ( int i ) {}
            };
            dfs.cache(context, "\\" + hostname + "\\" + root + path, dr);
            DfsReferralData ref = dfs.resolve(context, hostname, root, path);
            assertNotNull(ref);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

         * 
         * @param domain
         */
        void fixupDomain ( String domain );
    
    
        /**
         * Reduces path consumed by the given value
         * 
         * @param i
         */
        void stripPathConsumed ( int i );
    
    
        @Override
        DfsReferralDataInternal next ();
    
    
        /**
         * @param link
         */
        void setLink ( String link );
    
    
        /**
         * @return cache key
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            dri.next = this.next;
            this.next = dri;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.dfs.DfsReferralDataInternal#stripPathConsumed(int)
         */
        @Override
        public void stripPathConsumed ( int i ) {
            if ( i > this.pathConsumed ) {
                throw new IllegalArgumentException("Stripping more than consumed");
            }
            this.pathConsumed -= i;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

                            ( (DfsReferralDataImpl) dr ).fixupDomain(domain);
                        }
    
                        dr.stripPathConsumed(1 + domain.length() + 1 + root.length());
    
                        if ( dr.getPathConsumed() > ( path != null ? path.length() : 0 ) ) {
                            log.error("Consumed more than we provided");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top