Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSize (0.17 sec)

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

                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getPipe(java.lang.String, int)
         */
        @Override
        public SmbPipeResource getPipe ( String url, int pipeType ) throws CIFSException {
            try {
                return new SmbNamedPipe(url, pipeType, this);
            }
            catch ( MalformedURLException e ) {
    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/main/java/jcifs/smb/SmbFile.java

                    this.attrExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                else if ( info instanceof FileStandardInfo ) {
                    this.size = info.getSize();
                    this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                return info;
            }
    
            /*
    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)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

                Info info = queryPath( getUncPath0(),
                        Trans2QueryPathInformationResponse.SMB_QUERY_FILE_STANDARD_INFO );
                size = info.getSize();
            } else {
                size = 0L;
            }
            sizeExpiration = System.currentTimeMillis() + attrExpirationPeriod;
            return size;
        }
    
    /**
    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)
Back to top