Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for URL (0.21 sec)

  1. src/main/java/jcifs/context/BaseContext.java

         * 
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get ( String url ) throws CIFSException {
            try {
                return new SmbFile(url, this);
            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                    b.createNewFile();
                    c.createNewFile();
    
                    CIFSContext tc = withTestNTLMCredentials(ctx);
    
                    String url = getTestShareURL() + f.getName() + "a/";
    
                    try ( SmbFile f2 = new SmbFile(url, tc) ) {
                        f2.list();
                    }
                }
                finally {
                    f.delete();
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

         * as a file or directory from a <tt>URL</tt> object.
         *
         * @param url
         *            The URL of the target resource
         * @throws MalformedURLException
         */
        @Deprecated
        public SmbFile ( URL url ) throws MalformedURLException {
            this(url, SingletonContext.getInstance().withCredentials(new NtlmPasswordAuthentication(SingletonContext.getInstance(), url.getUserInfo())));
        }
    
    
        /**
    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/test/java/jcifs/tests/ContextConfigTest.java

            Config.registerSmbURLHandler();
            URL u = new URL("smb://localhost/test");
            assertThat(u.openConnection(), CoreMatchers.is(CoreMatchers.instanceOf(SmbFile.class)));
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testLegacyURLConstructor () throws IOException {
            Config.registerSmbURLHandler();
            URL u = new URL("smb://DOMAIN;foo:bar@localhost/test");
    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)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * as a file or directory from a <tt>URL</tt> object.
     *
     * @param   url The URL of the target resource
     */
        public SmbFile( URL url ) {
            this( url, new NtlmPasswordAuthentication( url.getUserInfo() ));
        }
    /**
     * Constructs an SmbFile representing a resource on an SMB network such
     * as a file or directory from a <tt>URL</tt> object and an
     * <tt>NtlmPasswordAuthentication</tt> object.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  6. pom.xml

    	<packaging>jar</packaging>
    	<name>jCIFS</name>
    	<url>https://github.com/codelibs/jcifs</url>
    	<description>JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java</description>
    	<licenses>
    		<license>
    			<name>GNU Lesser General Public License, version 2.1</name>
    			<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt</url>
    			<distribution>repo</distribution>
    		</license>
    	</licenses>
    XML
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 04 13:19:42 GMT 2024
    - 9.3K bytes
    - Viewed (1)
  7. src/test/java/jcifs/tests/SessionTest.java

                    Assume.assumeTrue(false);
                }
                throw e;
            }
        }
    
    
        protected void testCredentialUrl ( String url, String user, String pass, String dom ) throws SmbException, MalformedURLException {
            try ( SmbFile f = new SmbFile(url) ) {
                Credentials creds = f.getContext().getCredentials();
    
                assertFalse(creds.isAnonymous());
                assertFalse(creds.isGuest());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
Back to top