Migrate Java IO Filesystem calls to NIO APIs in FileUtils.java

Description

Java has alternative IO APIs http://tutorials.jenkov.com/java-nio/files.html which is better designed.

In core/common/src/main/java/alluxio/util/io/FileUtils.java, migrate all old IO API calls (e.g., these use of java.io.File class) into corresponding NIO API calls (e.g., using java.nio.Files)

Environment

None
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

尹树雨

Reporter

Bin Fan

Labels