lastAccessTime の戻り値を変更するにはどうすればよいか知りたい
System.out.println("Last Access time is:"+basicAttributes.lastAccessTime());
System.out.println("Last Modified time:"+basicAttributes.lastModifiedTime());
readAttributes を呼び出したファイルにアクセスしても.. lastAccessTime() メソッドは、ファイルに最後にアクセスした時間で値を更新しません.. ubuntu を使用していますが、その属性をサポートする必要があります..何が問題なのですか?
前もって感謝します。