Package be.gaudry.model.file
Class FileSize
java.lang.Object
be.gaudry.model.file.FileSize
- All Implemented Interfaces:
Comparable<FileSize>
Stores the size of a file
Provided by the broldev.core.model project.
- Since:
- 1.0 Jul 4, 2008, broldev.core.model 0.0.1-SNAPSHOT dependency
- Version:
- 1.0 Jul 4, 2008
- Author:
- Steph GAUDRY
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FileSize
public FileSize(long size)Builds an instance and sets the size value- Parameters:
size
- of the file
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classObject
- See Also:
UnitUtils.getLengthString(long)
-
compareTo
- Specified by:
compareTo
in interfaceComparable<FileSize>
-