mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Add last modified to file
This commit is contained in:
committed by
Alexey Pelykh
parent
dca12d3cd0
commit
2d11e7ccd4
@ -294,12 +294,19 @@ public class File implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
public long lastModified() {
|
||||
return lastModified(path);
|
||||
}
|
||||
private static native long openDir(String path);
|
||||
|
||||
private static native long lastModified(String path);
|
||||
|
||||
private static native String readDir(long handle);
|
||||
|
||||
private static native long closeDir(long handle);
|
||||
|
||||
|
||||
|
||||
private static class Pair {
|
||||
public final String value;
|
||||
public final Pair next;
|
||||
|
Reference in New Issue
Block a user