注释类型 DataSizeUnit
@Target(FIELD) @Retention(RUNTIME) @Documented public @interface DataSizeUnit
Annotation that can be used to change the default unit used when converting aDataSize
.- 从以下版本开始:
- 2.1.0
必需元素概要
所需元素 修饰符和类型 必需的元素 说明 org.springframework.util.unit.DataUnit
value
TheDataUnit
to use if one is not specified.
元素详细资料
value
org.springframework.util.unit.DataUnit value
TheDataUnit
to use if one is not specified.- 返回:
- the data unit