Uses of Class
io.dropwizard.util.DataSizeUnit
-
-
Uses of DataSizeUnit in io.dropwizard.util
Methods in io.dropwizard.util that return DataSizeUnit Modifier and Type Method Description DataSizeUnitDataSize. getUnit()Returns thedata size unitof the currentDataSizeobject.static DataSizeUnitDataSizeUnit. valueOf(String name)Returns the enum constant of this type with the specified name.static DataSizeUnit[]DataSizeUnit. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.dropwizard.util with parameters of type DataSizeUnit Modifier and Type Method Description longDataSizeUnit. 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.
-