Uses of Enum
org.apache.maven.cli.transfer.FileSizeFormat.ScaleUnit
-
Uses of FileSizeFormat.ScaleUnit in org.apache.maven.cli.transfer
Modifier and TypeMethodDescriptionstatic FileSizeFormat.ScaleUnit
FileSizeFormat.ScaleUnit.getScaleUnit
(long size) static FileSizeFormat.ScaleUnit
Returns the enum constant of this type with the specified name.static FileSizeFormat.ScaleUnit[]
FileSizeFormat.ScaleUnit.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionFileSizeFormat.format
(long size, FileSizeFormat.ScaleUnit unit) FileSizeFormat.format
(long size, FileSizeFormat.ScaleUnit unit, boolean omitSymbol) void
FileSizeFormat.format
(StringBuilder builder, long size, FileSizeFormat.ScaleUnit unit)