[ 
https://issues.apache.org/jira/browse/IO-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788795#comment-17788795
 ] 

hellozrh commented on IO-822:
-----------------------------

Far more than that. FileUtils. bytCountToDisplaySize only supports converting 
byte size to a readable version. I have implemented a tool that can convert any 
size unit into a human readable version, and support file size unit conversion 
to and from each other. The implementation method refers to TimeUnit, adopts 
the feature of enumeration, simplifies the code, and has high efficiency.

> I hope to add a file size tool class for converting units such as TB, GB, MB, 
> etc,  such as java.util.concurrent.TimeUnit.java
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IO-822
>                 URL: https://issues.apache.org/jira/browse/IO-822
>             Project: Commons IO
>          Issue Type: Wish
>          Components: Utilities
>         Environment: java8+
>            Reporter: hellozrh
>            Priority: Minor
>              Labels: features
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> a tool for file size converting,  TB, GB, MB, KB convert to each other, 
> including Byte conversion to a size that is convenient for human reading。



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to