Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isWorkgroup (0.09 sec)

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

                }
            }
            return this.type;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#isWorkgroup()
         */
        @Override
        public boolean isWorkgroup () throws CIFSException {
            if ( this.type == SmbConstants.TYPE_WORKGROUP || this.url.getHost().length() == 0 ) {
                this.type = SmbConstants.TYPE_WORKGROUP;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResourceLocator.java

         * @throws CIFSException
         */
        int getType () throws CIFSException;
    
    
        /**
         * @return whether this is a workgroup reference
         * @throws CIFSException
         */
        boolean isWorkgroup () throws CIFSException;
    
    
        /**
         * 
         * @return whether this is a root resource
         */
        boolean isRoot ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

            }
            return "URL:" + name.replace("?", "%3f");
        }
    
    
        /**
         * @return
         */
        private static boolean isWorkgroup ( SmbResource r ) {
            try {
                return r.getLocator().isWorkgroup();
            }
            catch ( CIFSException e ) {
                log.debug("Failed to check for workgroup", e);
                return false;
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

     */
    
        public SmbFile( SmbFile context, String name )
                    throws MalformedURLException, UnknownHostException {
            this( context.isWorkgroup0() ?
                new URL( null, "smb1://" + name, Handler.SMB_HANDLER ) :
                new URL( context.url, name, Handler.SMB_HANDLER ), context.auth );
        }
    
    /**
    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