Represents properties of a file on the file system.

Instances of FileProps are thread-safe

no subtypes hierarchy

Initializer
FileProps(DateTime creationTime, DateTime lastAccessTime, DateTime lastModifiedTime, Boolean directory, Boolean other, Boolean regularFile, Boolean symbolicLink, Integer size)
Parameters:
  • creationTime

    The date the file was created

  • lastAccessTime

    The date the file was last accessed

  • lastModifiedTime

    The date the file was last modified

  • directory

    Is the file a directory?

  • other

    Is the file some other type? (I.e. not a directory, regular file or symbolic link)

  • regularFile

    Is the file a regular file?

  • symbolicLink

    Is the file a symbolic link?

  • size

    The size of the file, in bytes

Attributes
creationTimeshared DateTime creationTime

The date the file was created

directoryshared Boolean directory

Is the file a directory?

lastAccessTimeshared DateTime lastAccessTime

The date the file was last accessed

lastModifiedTimeshared DateTime lastModifiedTime

The date the file was last modified

othershared Boolean other

Is the file some other type? (I.e. not a directory, regular file or symbolic link)

regularFileshared Boolean regularFile

Is the file a regular file?

sizeshared Integer size

The size of the file, in bytes

shared Boolean symbolicLink

Is the file a symbolic link?

Inherited Attributes
Attributes inherited from: Object
hash, string
Inherited Methods
Methods inherited from: Object
equals