getFileSize
Package:
Summary:
Retrieve and format the size of a file
Groups:
Author:
Description:
This class can be used to retrieve and format the size of a file.
It gets the size of a given file and converts it to a give unit.
Currently it supports formatting sizes in KB, MB, GB, TB, PB, EB, ZB and YB.
The number of decimal cases is configurable.
It gets the size of a given file and converts it to a give unit.
Currently it supports formatting sizes in KB, MB, GB, TB, PB, EB, ZB and YB.
The number of decimal cases is configurable.
Comments are closed.