Uses of Enum Class
io.dropwizard.util.DataSizeUnit
-
Uses of DataSizeUnit in io.dropwizard.util
Methods in io.dropwizard.util that return DataSizeUnitModifier and TypeMethodDescriptionDataSize.getUnit()Returns thedata size unitof the currentDataSizeobject.static DataSizeUnitReturns the enum constant of this class with the specified name.static DataSizeUnit[]DataSizeUnit.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.dropwizard.util with parameters of type DataSizeUnitModifier and TypeMethodDescriptionlongDataSizeUnit.convert(long size, DataSizeUnit unit) Converts a size of the given unit into the current unit.static DataSizeDataSize.parse(CharSequence size, DataSizeUnit defaultUnit) Parses a givenCharSequenceto aDataSizeobject.