Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for FileSystemInformation (0.47 sec)

  1. src/main/java/jcifs/internal/fscc/FileSystemInformation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.fscc;
    
    
    import jcifs.Decodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface FileSystemInformation extends Decodable {
    
        /**
         * 
         */
        public static final byte SMB_INFO_ALLOCATION = -1;
    
        /**
         * 
         */
        public static final byte FS_SIZE_INFO = 3;
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

            AllocInfo inf;
            switch ( this.informationLevel ) {
            case FileSystemInformation.SMB_INFO_ALLOCATION:
                inf = new SmbInfoAllocation();
                break;
            case FileSystemInformation.FS_SIZE_INFO:
                inf = new FileFsSizeInformation();
                break;
            case FileSystemInformation.FS_FULL_SIZE_INFO:
                inf = new FileFsFullSizeInformation();
                break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

        }
    
    
        /**
         * @param il
         * @return
         */
        private static int mapInformationLevel ( int il ) {
            switch ( il ) {
            case FileSystemInformation.SMB_INFO_ALLOCATION:
                return 0x1;
            case FileSystemInformation.FS_SIZE_INFO:
                return 0x103;
            }
            throw new IllegalArgumentException("Unhandled information level");
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

         */
        private static Decodable createFilesystemInformation ( byte infoClass ) throws SMBProtocolDecodingException {
            switch ( infoClass ) {
            case FileSystemInformation.FS_FULL_SIZE_INFO:
                return new FileFsFullSizeInformation();
            case FileSystemInformation.FS_SIZE_INFO:
                return new FileFsSizeInformation();
            default:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

    /**
     *
     */
    public class FileFsFullSizeInformation implements AllocInfo, FileSystemInformation, Decodable {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
        private int sectPerAlloc;
        private int bytesPerSect;
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/AllocInfo.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    
    import jcifs.internal.fscc.FileSystemInformation;
    
    
    /**
     * 
     * @author mbechler
     *
     */
    public interface AllocInfo extends FileSystemInformation {
    
        /**
         * 
         * @return total capacity
         */
        long getCapacity ();
    
    
        /**
         * 
         * @return free space
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

        private int sectPerAlloc;
        private int bytesPerSect;
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
         */
        @Override
        public byte getFileSystemInformationClass () {
            return FileSystemInformation.SMB_INFO_ALLOCATION;
        }
    
    
        @Override
        public long getCapacity () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

        private long free;
        private int sectPerAlloc;
        private int bytesPerSect;
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileSystemInformation#getFileSystemInformationClass()
         */
        @Override
        public byte getFileSystemInformationClass () {
            return FS_SIZE_INFO;
        }
    
    
        @Override
        public long getCapacity () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

                        ai = queryFSInformation(th, AllocInfo.class, FileSystemInformation.SMB_INFO_ALLOCATION);
                        break;
                    }
                default:
                    throw ex;
                }
            }
            return ai;
        }
    
    
        private <T extends FileSystemInformation> T queryFSInformation ( SmbTreeHandleImpl th, Class<T> clazz, byte level ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top