java.nio.file.Paths [1]
私はパスのインスタンスをPath型として生成します。
Path p = Paths.get("moge.dat"); System.out.println(Files.getOwner(p));