public class FileStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
S_IFBLK |
static long |
S_IFCHR |
static long |
S_IFDIR |
static long |
S_IFIFO |
static long |
S_IFLNK |
static long |
S_IFMT |
static long |
S_IFREG |
static long |
S_IFSOCK |
Constructor and Description |
---|
FileStatus() |
Modifier and Type | Method and Description |
---|---|
long |
getAtime() |
long |
getBlksize() |
long |
getBlocks() |
long |
getCtime() |
long |
getDev() |
int |
getGid() |
long |
getIno() |
int |
getMode() |
long |
getMtime() |
int |
getNlink() |
long |
getRdev() |
long |
getSize() |
int |
getUid() |
void |
init(long st_dev,
long st_ino,
int st_mode,
int st_nlink,
int st_uid,
int st_gid,
long st_rdev,
long st_size,
long st_blksize,
long st_blocks,
long st_atime,
long st_mtime,
long st_ctime,
boolean isRegularFile,
boolean isDirectory,
boolean isCharacterDevice,
boolean isBlockDevice,
boolean isFIFO,
boolean isLink,
boolean isSocket) |
boolean |
isBlockDevice() |
boolean |
isCharacterDevice() |
boolean |
isDirectory() |
boolean |
isFIFO() |
boolean |
isLink() |
boolean |
isRegularFile() |
boolean |
isSocket() |
java.lang.String |
toString() |
void |
updateWindowsTime(java.io.File file) |
public static long S_IFMT
public static long S_IFSOCK
public static long S_IFLNK
public static long S_IFREG
public static long S_IFBLK
public static long S_IFDIR
public static long S_IFCHR
public static long S_IFIFO
public void init(long st_dev, long st_ino, int st_mode, int st_nlink, int st_uid, int st_gid, long st_rdev, long st_size, long st_blksize, long st_blocks, long st_atime, long st_mtime, long st_ctime, boolean isRegularFile, boolean isDirectory, boolean isCharacterDevice, boolean isBlockDevice, boolean isFIFO, boolean isLink, boolean isSocket)
public void updateWindowsTime(java.io.File file)
public long getDev()
public long getIno()
public int getMode()
public int getNlink()
public int getUid()
public int getGid()
public long getRdev()
public long getSize()
public long getBlksize()
public long getBlocks()
public long getAtime()
public long getMtime()
public long getCtime()
public boolean isRegularFile()
public boolean isDirectory()
public boolean isCharacterDevice()
public boolean isBlockDevice()
public boolean isFIFO()
public boolean isLink()
public boolean isSocket()
public java.lang.String toString()
toString
in class java.lang.Object