File.getName and Path.getFileName both return a file name without directory. What\'s the difference between the two? If they do the same thing, whi
File.getName
Path.getFileName