Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 284 for geturl (0.77 sec)

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

                NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class);
                Assert.assertEquals("b@r", na.getPassword());
            }
    
            try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) {
                Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Handler.java

    public class Handler extends URLStreamHandler {
    
        static final URLStreamHandler SMB_HANDLER = new Handler();
    
        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
        public URLConnection openConnection( URL u ) throws IOException {
            return new SmbFile( u );
        }
        protected void parseURL( URL u, String spec, int start, int limit ) {
            String host = u.getHost();
            String path, ref;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                return true;
            }
            return exists() && ( this.attributes & ATTR_READONLY ) == 0;
        }
    
    
        @Override
        public boolean isDirectory () throws SmbException {
            if ( this.fileLocator.isRootOrShare() ) {
                return true;
            }
            if ( !exists() )
                return false;
    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)
  4. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

         */
        @Override
        public boolean isConnected () {
            return this.treeConnection.isConnected();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#getConfig()
         */
        @Override
        public Configuration getConfig () {
            return this.treeConnection.getConfig();
        }
    
    
        /**
         * @return the currently connected tree id
         */
        public long getTreeId () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

         *
         * @see jcifs.SmbResourceLocator#getURL()
         */
        @Override
        public URL getURL () {
            return this.url;
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbResourceLocatorInternal#shouldForceSigning()
         */
        @Override
        public boolean shouldForceSigning () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        }
    
    
        @Override
        public String getShare () {
            return this.share;
        }
    
    
        @Override
        public String getPath () {
            return this.path;
        }
    
    
        /**
         * @return the rflags
         */
        public int getFlags () {
            return this.rflags;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

        public SecureRandom getRandom () {
            return this.random;
        }
    
    
        @Override
        public String getNetbiosHostname () {
            return this.netbiosHostname;
        }
    
    
        @Override
        public InetAddress getLocalAddr () {
            return this.smbLocalAddress;
        }
    
    
        @Override
        public int getLocalPort () {
            return this.smbLocalPort;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb1/util/Encdec.java

        {
            return (short)(((src[si] & 0xFF) << 8) | (src[si + 1] & 0xFF));
        }
        public static int dec_uint32be( byte[] src, int si )
        {
            return ((src[si] & 0xFF) << 24) | ((src[si + 1] & 0xFF) << 16) |
                   ((src[si + 2] & 0xFF) << 8) | (src[si + 3] & 0xFF);
        }
        public static short dec_uint16le( byte[] src, int si )
        {
            return (short)((src[si] & 0xFF) | ((src[si + 1] & 0xFF) << 8));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

        }
    
    
        /**
         * @return the informationLevel
         */
        public int getInformationLevel () {
            return this.informationLevel;
        }
    
    
        /**
         * @return the filesystem info
         */
        public FileSystemInformation getInfo () {
            return this.info;
        }
    
    
        /**
         * @param clazz
         * @return the filesystem info
         * @throws CIFSException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

             */
            switch ( this.type & 0xFFFF ) {
            case 1:
                return SmbConstants.TYPE_PRINTER;
            case 3:
                return SmbConstants.TYPE_NAMED_PIPE;
            }
            return SmbConstants.TYPE_SHARE;
        }
    
    
        @Override
        public int getAttributes () {
            return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Feb 17 09:30:57 GMT 2019
    - 3.1K bytes
    - Viewed (0)
Back to top