Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for URL (0.18 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     * an SMB server addressed by the <code>url</code> parameter. See {@link
     * jcifs.smb1.smb1.SmbFile} for a detailed description and examples of the smb
     * URL syntax.
     *
     * @param url An smb URL string representing the file to read from
     */
    
        public SmbFileInputStream( String url ) throws SmbException, MalformedURLException, UnknownHostException {
            this( new SmbFile( url ));
        }
    
    /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Handler.java

        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;
            int port;
    
            if( spec.equals( "smb1://" )) {
    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/netbios/Lmhosts.java

                    if ( line.startsWith("#INCLUDE ") ) {
                        line = line.substring(line.indexOf('\\'));
                        String url = "smb:" + line.replace('\\', '/');
    
                        try ( InputStreamReader rdr = new InputStreamReader(new SmbFileInputStream(url, tc)) ) {
                            if ( this.alt > 0 ) {
                                try {
                                    populate(rdr, tc);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

        private boolean smb2;
    
    
        /**
         * @param url
         * @param tc
         *            context to use
         * @throws SmbException
         * @throws MalformedURLException
         */
        @SuppressWarnings ( "resource" )
        public SmbFileInputStream ( String url, CIFSContext tc ) throws SmbException, MalformedURLException {
            this(new SmbFile(url, tc), 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, true);
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        boolean hashesExternal = false;
        byte[] clientChallenge = null;
        byte[] challenge = null;
    
    /**
     * Create an <tt>NtlmPasswordAuthentication</tt> object from the userinfo
     * component of an SMB URL like "<tt>domain;user:pass</tt>". This constructor
     * is used internally be jCIFS when parsing SMB URLs.
     */
    
        public NtlmPasswordAuthentication( String userInfo ) {
            domain = username = password = null;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbEnumerationUtil.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.UnknownHostException;
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/SmbResourceLocator.java

    
        /**
         * Everything but the last component of the URL representing this SMB
         * resource is effectively it's parent. The root URL <code>smb://</code>
         * does not have a parent. In this case <code>smb://</code> is returned.
         *
         * @return The parent directory of this SMB resource or
         *         <code>smb://</code> if the resource refers to the root of the URL
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/SingletonContext.java

         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
         *     at java.net.URL.&lt;init&gt;(URL.java:330)
         *     at jcifs.smb.SmbFile.&lt;init&gt;(SmbFile.java:355)
         *     ...
         * </pre>
         * 
         * <blockquote>
         * 
         */
        public static void registerSmbURLHandler () {
            SingletonContext.getInstance();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 08:53:08 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Config.java

         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <tt>java.net.URL</tt> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote>
         * 
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
Back to top