Contains cached information about one of the files in a DirectoryContentsList.
Public Attributes | |
| String | filename |
| The filename. | |
| int64 | fileSize |
| File size in bytes. | |
| Time | modificationTime |
| File modification time. | |
| Time | creationTime |
| File creation time. | |
| bool | isDirectory |
| True if the file is a directory. | |
| bool | isReadOnly |
| True if the file is read-only. | |
| String juce::DirectoryContentsList::FileInfo::filename |
The filename.
This isn't a full pathname, it's just the last part of the path, same as you'd get from File::getFileName().
To get the full pathname, use DirectoryContentsList::getDirectory().getChildFile (filename).
| Time juce::DirectoryContentsList::FileInfo::modificationTime |
File modification time.
As supplied by File::getLastModificationTime().
| Time juce::DirectoryContentsList::FileInfo::creationTime |
File creation time.
As supplied by File::getCreationTime().
| bool juce::DirectoryContentsList::FileInfo::isDirectory |
True if the file is a directory.
| bool juce::DirectoryContentsList::FileInfo::isReadOnly |
True if the file is read-only.