org.apache.tomcat.jni

Class FileInfo

public class FileInfo extends Object

Fileinfo

Version: $Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Mladen Turk

Field Summary
longatime
The time the file was last accessed
longcsize
The storage size consumed by the file
longctime
The time the file was created, or the inode was last changed
intdevice
The id of the device the file is on.
longfilehand
The file's handle, if accessed (can be submitted to apr_duphandle)
intfiletype
The type of file.
Stringfname
The pathname of the file (possibly unrooted)
intgroup
The group id that owns the file
intinode
The inode of the file.
longmtime
The time the file was last modified
Stringname
The file's name (no path) in filesystem case
intnlink
The number of hard links to the file.
longpool
Allocates memory and closes lingering handles in the specified pool
intprotection
The access permissions of the file.
longsize
The size of the file
intuser
The user id that owns the file
intvalid
The bitmask describing valid fields of this apr_finfo_t structure including all available 'wanted' fields and potentially more

Field Detail

atime

public long atime
The time the file was last accessed

csize

public long csize
The storage size consumed by the file

ctime

public long ctime
The time the file was created, or the inode was last changed

device

public int device
The id of the device the file is on.

filehand

public long filehand
The file's handle, if accessed (can be submitted to apr_duphandle)

filetype

public int filetype
The 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.

fname

public String fname
The pathname of the file (possibly unrooted)

group

public int group
The group id that owns the file

inode

public int inode
The inode of the file.

mtime

public long mtime
The time the file was last modified

name

public String name
The file's name (no path) in filesystem case

nlink

public int nlink
The number of hard links to the file.

pool

public long pool
Allocates memory and closes lingering handles in the specified pool

protection

public int protection
The access permissions of the file. Mimics Unix access rights.

size

public long size
The size of the file

user

public int user
The user id that owns the file

valid

public int valid
The bitmask describing valid fields of this apr_finfo_t structure including all available 'wanted' fields and potentially more
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.