Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for types (0.2 sec)

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

            }
    
            /*
             * why? am I going around in circles?
             * this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
            this.fileLocator.updateType(type);
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastModified = lastModified;
            this.lastAccess = lastAccess;
    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)
  2. src/main/java/jcifs/pac/ASN1Util.java

    
        /**
         * 
         * @param type
         * @param object
         * @return object cast to type
         * @throws PACDecodingException
         */
        public static <T> T as ( Class<T> type, Object object ) throws PACDecodingException {
            if ( !type.isInstance(object) ) {
                throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass());
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
    
        @Override
        public NbtAddress getNbtByName ( String host, int type, String scope ) throws UnknownHostException {
            return getNbtByName(host, type, scope, null);
        }
    
    
        @Override
        public NbtAddress getNbtByName ( String host, int type, String scope, InetAddress svr ) throws UnknownHostException {
    
            if ( host == null || host.length() == 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * Returns type of of object this <tt>SmbFile</tt> represents.
     * @return <tt>TYPE_FILESYSTEM, TYPE_WORKGROUP, TYPE_SERVER, TYPE_SHARE,
     * TYPE_PRINTER, TYPE_NAMED_PIPE</tt>, or <tt>TYPE_COMM</tt>.
     */
        public int getType() throws SmbException {
            if( type == 0 ) {
                if( getUncPath0().length() > 1 ) {
                    type = TYPE_FILESYSTEM;
                } else if( share != null ) {
    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)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                 */
    
                this.andx.uid = this.uid;
                dstIndex += ( (AndXServerMessageBlock) this.andx ).writeAndXWireFormat(dst, dstIndex);
            }
            else {
                // the andx smb is not of type andx so lets just write it here and
                // were done.
                int andxStart = dstIndex;
                this.andx.wordCount = this.andx.writeParameterWordsWireFormat(dst, dstIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
Back to top