Package com.indeed.util.mmap
Class Stat
- java.lang.Object
-
- com.indeed.util.mmap.Stat
-
public final class Stat extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Statfstat(java.io.FileDescriptor fd)longgetaTime()longgetBlockSize()longgetcTime()longgetDevice()intgetGid()longgetInode()intgetMode()longgetmTime()longgetNumBlocks()longgetNumLinks()longgetRdev()booleangetSGID()longgetSize()booleangetSUID()intgetUid()booleanisBlockDevice()booleanisCharacterDevice()booleanisDirectory()booleanisFifo()booleanisGroupExecutable()booleanisGroupReadable()booleanisGroupWritable()booleanisOtherExecutable()booleanisOtherReadable()booleanisOtherWritable()booleanisRegularFile()booleanisSock()booleanisSticky()booleanisSymlink()booleanisUserExecutable()booleanisUserReadable()booleanisUserWritable()static Statlstat(java.io.File file)static Statlstat(java.lang.String file)static Statstat(java.io.File file)static Statstat(java.lang.String file)java.lang.StringtoString()
-
-
-
Method Detail
-
stat
public static Stat stat(java.lang.String file) throws java.io.IOException
- Throws:
java.io.IOException
-
stat
public static Stat stat(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
lstat
public static Stat lstat(java.lang.String file) throws java.io.IOException
- Throws:
java.io.IOException
-
lstat
public static Stat lstat(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
fstat
public static Stat fstat(java.io.FileDescriptor fd) throws java.io.IOException
- Throws:
java.io.IOException
-
getDevice
public long getDevice()
-
getInode
public long getInode()
-
getMode
public int getMode()
-
getNumLinks
public long getNumLinks()
-
getUid
public int getUid()
-
getGid
public int getGid()
-
getRdev
public long getRdev()
-
getSize
public long getSize()
-
getBlockSize
public long getBlockSize()
-
getNumBlocks
public long getNumBlocks()
-
getaTime
public long getaTime()
-
getmTime
public long getmTime()
-
getcTime
public long getcTime()
-
isRegularFile
public boolean isRegularFile()
-
isDirectory
public boolean isDirectory()
-
isCharacterDevice
public boolean isCharacterDevice()
-
isBlockDevice
public boolean isBlockDevice()
-
isFifo
public boolean isFifo()
-
isSymlink
public boolean isSymlink()
-
isSock
public boolean isSock()
-
getSUID
public boolean getSUID()
-
getSGID
public boolean getSGID()
-
isSticky
public boolean isSticky()
-
isUserReadable
public boolean isUserReadable()
-
isUserWritable
public boolean isUserWritable()
-
isUserExecutable
public boolean isUserExecutable()
-
isGroupReadable
public boolean isGroupReadable()
-
isGroupWritable
public boolean isGroupWritable()
-
isGroupExecutable
public boolean isGroupExecutable()
-
isOtherReadable
public boolean isOtherReadable()
-
isOtherWritable
public boolean isOtherWritable()
-
isOtherExecutable
public boolean isOtherExecutable()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-