Uses of Class
io.dropwizard.util.DataSizeUnit
-
Packages that use DataSizeUnit Package Description io.dropwizard.util io.dropwizard.validation -
-
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. -
Uses of DataSizeUnit in io.dropwizard.validation
Methods in io.dropwizard.validation that return DataSizeUnit Modifier and Type Method Description DataSizeUnitunit()The unit of the validated range.DataSizeUnitunit()The unit of the annotation.DataSizeUnitunit()The unit of the annotation.
-