Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for geturl (0.29 sec)

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

            SmbResourceLocator loc = this.getParent().getLocator();
            String unc = loc.getUNCPath();
            String p = loc.getURL().getPath();
            if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if ( unc.lastIndexOf('\\') != ( unc.length() - 1 ) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  2. 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)
  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/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)
  5. 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)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

                dstIndex += len;
            }
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 10:41:31 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileOperationsTest.java

        public FileOperationsTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testRenameFile () throws CIFSException, MalformedURLException, UnknownHostException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/OplockTests.java

         */
        public OplockTests ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testOpenOplocked () throws UnknownHostException, IOException {
            CIFSContext c = getContext();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         * 
         * @return local port to use for outgoing connections
         */
        int getLocalPort ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.laddr</tt> (string)
         * 
         * @return local address to use for outgoing connections
         */
        InetAddress getLocalAddr ();
    
    
        /**
         * 
         * Property <tt>jcifs.netbios.hostname</tt> (string)
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

                return SmbConstants.TYPE_PRINTER;
            }
            else if ( "COMM".equals(connectedService) ) {
                return SmbConstants.TYPE_COMM;
            }
            return SmbConstants.TYPE_SHARE;
        }
    
    
        /**
         * @return the service
         */
        public String getService () {
            return this.service;
        }
    
    
        /**
         * @return the share
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
Back to top