Interface ToolFreeDiskSpaceCalculator

    • Method Detail

      • getFreeSpace

        @Nullable
        Long getFreeSpace​(@NotNull
                          File file)
        Computes free space on the disk that contains a file
        Parameters:
        file - file to select disk
        Returns:
        free space in bytes or null is operation is not supported by current JVM