Package org.apache.tomcat.jni
Class FileInfo
java.lang.Object
org.apache.tomcat.jni.FileInfo
Fileinfo
- Author:
- Mladen Turk
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe time the file was last accessedlongThe storage size consumed by the filelongThe time the file was created, or the inode was last changedintThe id of the device the file is on.longThe file's handle, if accessed (can be submitted to apr_duphandle)intThe type of file.The pathname of the file (possibly unrooted)intThe group id that owns the fileintThe inode of the file.longThe time the file was last modifiedThe file's name (no path) in filesystem caseintThe number of hard links to the file.longAllocates memory and closes lingering handles in the specified poolintThe access permissions of the file.longThe size of the fileintThe user id that owns the fileintThe bitmask describing valid fields of this apr_finfo_t structure including all available 'wanted' fields and potentially more -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
pool
public long poolAllocates memory and closes lingering handles in the specified pool -
valid
public int validThe bitmask describing valid fields of this apr_finfo_t structure including all available 'wanted' fields and potentially more -
protection
public int protectionThe access permissions of the file. Mimics Unix access rights. -
filetype
public int filetypeThe type of file. One of APR_REG, APR_DIR, APR_CHR, APR_BLK, APR_PIPE, APR_LNK or APR_SOCK. If the type is undetermined, the value is APR_NOFILE. If the type cannot be determined, the value is APR_UNKFILE. -
user
public int userThe user id that owns the file -
group
public int groupThe group id that owns the file -
inode
public int inodeThe inode of the file. -
device
public int deviceThe id of the device the file is on. -
nlink
public int nlinkThe number of hard links to the file. -
size
public long sizeThe size of the file -
csize
public long csizeThe storage size consumed by the file -
atime
public long atimeThe time the file was last accessed -
mtime
public long mtimeThe time the file was last modified -
ctime
public long ctimeThe time the file was created, or the inode was last changed -
fname
The pathname of the file (possibly unrooted) -
name
The file's name (no path) in filesystem case -
filehand
public long filehandThe file's handle, if accessed (can be submitted to apr_duphandle)
-
-
Constructor Details
-
FileInfo
public FileInfo()
-