Uses of Class
org.springframework.util.unit.DataSize
Packages that use DataSize
-
Uses of DataSize in org.springframework.util.unit
Methods in org.springframework.util.unit that return DataSizeModifier and TypeMethodDescriptionstatic DataSize
static DataSize
DataSize.ofBytes
(long bytes) Obtain aDataSize
representing the specified number of bytes.static DataSize
DataSize.ofGigabytes
(long gigabytes) Obtain aDataSize
representing the specified number of gigabytes.static DataSize
DataSize.ofKilobytes
(long kilobytes) Obtain aDataSize
representing the specified number of kilobytes.static DataSize
DataSize.ofMegabytes
(long megabytes) Obtain aDataSize
representing the specified number of megabytes.static DataSize
DataSize.ofTerabytes
(long terabytes) Obtain aDataSize
representing the specified number of terabytes.static DataSize
DataSize.parse
(CharSequence text) static DataSize
DataSize.parse
(CharSequence text, DataUnit defaultUnit) Methods in org.springframework.util.unit with parameters of type DataSize