FileInfo
, WindowsFileInfo
public class WindowsFileStat extends Object implements WindowsFileInfo
FileInfo.Type
Constructor | Description |
---|---|
WindowsFileStat(String path) |
Modifier and Type | Method | Description |
---|---|---|
void |
details(int type,
long size,
long lastModifiedWinTime) |
|
long |
getLastModifiedTime() |
Returns the last modification time of this file, in ms since epoch.
|
long |
getSize() |
Returns the size of this file, in bytes.
|
FileInfo.Type |
getType() |
Returns the type of this file.
|
String |
toString() |
public WindowsFileStat(String path)
public void details(int type, long size, long lastModifiedWinTime)
public FileInfo.Type getType()
FileInfo
public long getSize()
FileInfo
public long getLastModifiedTime()
FileInfo
getLastModifiedTime
in interface FileInfo