Storage

public final class Storage extends ResourceManageableAbstract

A simple storage that just manages the device capacity and raw allocated (used) space. It doesn’t deals with files neither with file system operations such as file inclusion or deletion. Such a class allows managing the Storage capacity and allocation.

Author:Manoel Campos da Silva Filho

Constructors

Storage

public Storage(long capacity)

Creates a new Storage device.

Parameters:
  • capacity – the storage capacity in Megabytes