public final class HFSUtils extends Object
Modifier and Type | Method and Description |
---|---|
static long |
getNumSector(String requestSize,
String sectorSize)
Converts the memory size to number of sectors.
|
static void |
main(String[] args)
The main class to invoke the getNumSector.
|
public static long getNumSector(String requestSize, String sectorSize)
requestSize
- requested filesystem size in bytessectorSize
- the size of each sector in bytespublic static void main(String[] args)
args
- the arguments parsed by commandlineCopyright © 2023. All Rights Reserved.