*Nix ls Command in Java

前端 未结 5 877
野的像风
野的像风 2021-01-24 00:54

Anyone aware of a method/class/library that will allow me to easily reproduce the results of the *nix ls -l command in Java? Calling ls directly is not an option due to platform

5条回答
  •  一向
    一向 (楼主)
    2021-01-24 01:40

    I think we don't have ready to use Java class in java stadard library. But you can develop a tool like *nix ls -l tool by using classes in java.io package.

提交回复
热议问题