Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isWorkgroup0 (0.09 sec)

  1. 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)
  2. 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)
Back to top