Feature Representation
Path features have no geometry.
In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format also adds format-specific attributes (Format Attributes).
Attribute Name |
Contents |
Example |
---|---|---|
path_geom | The type of geometry on the features produced by the reader. This will have a value of path_none in all cases. This attribute is used to map feature geometry type to other format writers and in this case indicates that the features from this reader are non-spatial. | path_none |
path_unix |
The path of the file or folder using UNIX-style forward-slash path separators. If the dataset path specified was a relative path, then this attribute will be a relative path; otherwise, it will be an absolute path. |
/usr/example/Documents/example.txt |
path_windows |
The path of the file or folder using Windows-style backslash path separators. If the dataset path specified was a relative path, then this attribute will be a relative path; otherwise, it will be an absolute path. |
C:\Temp\example.txt |
path_filename |
The name of the file or folder without path information. |
example.txt |
path_rootname |
The filename without the file extension. |
example |
path_extension |
The file extension not including the period. |
txt |
path_filesize |
The size of the file in bytes. Directories will have a value of 0. If size cannot be determined or the Retrieve File Properties reader parameter is set to No, the value will be 0. |
32656 |
path_folder_unix |
The parent folder of the file or folder with the trailing slash using forward-slash path separators. If the dataset path specified was a relative path, then this attribute will be a relative path; otherwise, it will be an absolute path. |
/usr/example/Documents/ |
path_folder_windows |
The parent folder of the feature with the trailing slash using backslash path separators. If the dataset path specified was a relative path, then this attribute will be a relative path; otherwise, it will be an absolute path. |
C:\Temp\ |
path_type |
Set to either "file" or "folder" depending on whether the feature is a file or a folder |
file |
path_created_date |
The date and time when the file or folder was created, presented in the FME datetime format. See Standard FME Date/Time Format If the Retrieve File Properties reader parameter is set to No, the value will be “”. |
20160101083000 |
path_modified_date |
The date and time when the file or folder was last modified, presented in the FME datatime format. See Standard FME Date/Time Format If the Retrieve File Properties reader parameter is set to No, the value will be “”. |
20160102094550 |
path_accessed_date |
The date and time when the file or folder was last accessed. See Standard FME Date/Time Format If the Retrieve File Properties reader parameter is set to No, the value will be “”. |
20160105135530 |
path_ownername | The owner name of the file or folder. If the Retrieve File Properties reader parameter is set to No, the value will be “”. | bob |
path_readonly |
The read-only property of the file or folder. The value will be set to either true or false, depending on whether the file or folder is marked as read-only. If the Retrieve File Properties reader parameter is set to No, the value will be “”. |
false |