Uses of Enum Class
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 class with the specified name.static FileSizeFormat.ScaleUnit[]
FileSizeFormat.ScaleUnit.values()
Returns an array containing the constants of this enum class, 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) void
FileSizeFormat.format
(MessageBuilder builder, long size, FileSizeFormat.ScaleUnit unit)