Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for GetName (0.2 sec)

  1. src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java

    
    import jcifs.Encodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface CreateContextRequest extends Encodable {
    
        /**
         * @return context name
         */
        byte[] getName ();
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1004 bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

            return f1name.compareToIgnoreCase(f2.getName());
        }
    
    
        protected int compareSizes ( SmbFile f1, String f1name, SmbFile f2 ) throws IOException {
            long diff;
    
            if ( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
            }
            if ( f1.isDirectory() ) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            }
            return f1name.compareToIgnoreCase( f2.getName() );
        }
        protected int compareSizes( SmbFile f1, String f1name, SmbFile f2 ) throws IOException {
            long diff;
    
            if( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
            }
            if( f1.isDirectory() ) {
                return f1name.compareToIgnoreCase( f2.getName() );
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

    /**
     * Return the upcased username hash code.
     */
        public int hashCode() {
            return getName().toUpperCase().hashCode();
        }
    /**
     * Return the domain and username in the format:
     * <tt>domain\\username</tt>. This is equivalent to <tt>getName()</tt>.
     */
        public String toString() {
            return getName();
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/EnumTest.java

                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
                        try ( SmbResource serv = it.next() ) {
                            System.err.println(serv.getName());
                        }
                    }
                }
            }
            catch ( SmbUnsupportedOperationException e ) {
                Assume.assumeTrue("Browsing unsupported", false);
            }
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         */
        @Override
        public int hashCode () {
            return getName().toUpperCase().hashCode();
        }
    
    
        /**
         * Return the domain and username in the format:
         * <tt>domain\\username</tt>. This is equivalent to <tt>getName()</tt>.
         */
        @Override
        public String toString () {
            return getName();
        }
    
    
        @Override
        public boolean isAnonymous () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    for ( int ei = 0; ei < entries.length; ei++ ) {
                        FileEntry e = entries[ ei ];
                        if ( !set.contains(e) && ( fnf == null || fnf.accept(parent, e.getName()) ) ) {
                            set.add(e);
                        }
                    }
                }
                catch ( IOException ioe ) {
                    log.debug("DS enumeration failed", ioe);
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java

    
    import jcifs.Decodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface CreateContextResponse extends Decodable {
    
        /**
         * @return context name
         */
        byte[] getName ();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1004 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

         * @throws MalformedURLException
         */
        @Override
        protected SmbResource adapt ( FileEntry e ) throws MalformedURLException {
            return new SmbFile(
                getParent(),
                e.getName(),
                true,
                SmbConstants.TYPE_FILESYSTEM,
                e.getAttributes(),
                e.createTime(),
                e.lastModified(),
                e.lastAccess(),
                e.length());
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/FileEntry.java

    package jcifs.smb1.smb1;
    
    public interface FileEntry {
    
        String getName();
        int getType();
        int getAttributes();
        long createTime();
        long lastModified();
        long length();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 191 bytes
    - Viewed (0)
Back to top