Module jcifs

Interface AllocInfo

All Superinterfaces:
Decodable, FileSystemInformation
All Known Implementing Classes:
FileFsFullSizeInformation, FileFsSizeInformation, SmbInfoAllocation

public interface AllocInfo extends FileSystemInformation
Interface for file system allocation information providing capacity and free space details. Used in SMB protocol operations to query disk space information from remote SMB shares.
Author:
mbechler
  • Method Details

    • getCapacity

      long getCapacity()
      Gets the total capacity of the allocation.
      Returns:
      total capacity
    • getFree

      long getFree()
      Gets the free space available.
      Returns:
      free space