Package core :: Module file_system :: Class FileProps
[hide private]
[frames] | no frames]

Class FileProps

source code

object --+
         |
        FileProps

Represents the properties of a file on the file system

Instance Methods [hide private]
 
__init__(self, java_obj) source code
 
creation_time(self)
return [Time] The creation time of the file.
source code
 
last_access_time(self)
return [Time] The last access time of the file.
source code
 
last_modified_time(self)
return The last modified time of the file.
source code
 
directory(self)
return is the file a directory
source code
 
other(self)
return Is the file some other file type?
source code
 
regular_file(self)
returns Is it a regular file?
source code
 
symbolic_link(self)
returns is it a symbolic link?
source code
 
size(self)
returnsthe size of the file, in bytes.
source code
Method Details [hide private]

__init__(self, java_obj)
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

creation_time(self)

source code 

return [Time] The creation time of the file.

Decorators:
  • @property

last_access_time(self)

source code 

return [Time] The last access time of the file.

Decorators:
  • @property

last_modified_time(self)

source code 

return The last modified time of the file.

Decorators:
  • @property

directory(self)

source code 

return is the file a directory

Decorators:
  • @property

other(self)

source code 

return Is the file some other file type?

Decorators:
  • @property

regular_file(self)

source code 

returns Is it a regular file?

Decorators:
  • @property

symbolic_link(self)

source code 

returns is it a symbolic link?

Decorators:
  • @property

size(self)

source code 

returnsthe size of the file, in bytes.

Decorators:
  • @property