Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for unchecked (0.21 sec)

  1. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

         */
        public Decodable getInfo () {
            return this.info;
        }
    
    
        /**
         * @param clazz
         * @return the information
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getInfo ( Class<T> clazz ) throws CIFSException {
            if ( !clazz.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            this.uncPath = this.pipe.getUncPath();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends SmbPipeHandle> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

                }
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.SID#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T> T unwrap ( Class<T> t ) {
            if ( t.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

        public FileSystemInformation getInfo () {
            return this.info;
        }
    
    
        /**
         * @param clazz
         * @return the filesystem info
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileSystemInformation> T getInfo ( Class<T> clazz ) throws CIFSException {
            if ( !clazz.isAssignableFrom(this.info.getClass()) ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        public DfsReferralDataImpl () {
            this.next = this;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.DfsReferralData#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends DfsReferralData> T unwrap ( Class<T> type ) {
            if ( type.isAssignableFrom(this.getClass()) ) {
                return (T) this;
            }
            throw new ClassCastException();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Context.java

                if ( log.isDebugEnabled() ) {
                    log.debug("Found ExtendedGSSContext implementation: " + EXT_GSS_CONTEXT_CLASS.getName());
                }
            }
        }
    
    
        @SuppressWarnings ( "unchecked" )
        private static <T extends Enum<T>> Object getSessionKeyInquireType ( Class<?> inquireTypeClass ) {
            return Enum.valueOf((Class<T>) inquireTypeClass, "KRB5_GET_SESSION_KEY");
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileLocationTest.java

            }
    
    
            /**
             * {@inheritDoc}
             *
             * @see jcifs.DfsReferralData#unwrap(java.lang.Class)
             */
            @SuppressWarnings ( "unchecked" )
            @Override
            public <T extends DfsReferralData> T unwrap ( Class<T> type ) {
                if ( type.isAssignableFrom(this.getClass()) ) {
                    return (T) this;
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

        public final FileInformation getInfo () {
            return this.info;
        }
    
    
        /**
         * 
         * @param type
         * @return the info
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileInformation> T getInfo ( Class<T> type ) throws CIFSException {
            if ( !type.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            return null;
        }
    
    
        /**
         * @param responseType
         * @return decoded data
         * @throws SmbException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getOutputData ( Class<T> responseType ) throws SmbException {
    
            Decodable out = getOutputData();
    
            if ( out == null ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#setResponse(jcifs.internal.CommonServerMessageBlockResponse)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public final void setResponse ( CommonServerMessageBlockResponse msg ) {
            if ( msg != null && ! ( msg instanceof ServerMessageBlock2 ) ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.2K bytes
    - Viewed (0)
Back to top