Package org.gnome.gio

Enum Class FileType

java.lang.Object
java.lang.Enum<FileType>
org.gnome.gio.FileType
All Implemented Interfaces:
Enumeration, Serializable, Comparable<FileType>, Constable

@Generated("io.github.jwharm.JavaGI") public enum FileType extends Enum<FileType> implements Enumeration
Indicates the file's on-disk type.

On Windows systems a file will never have SYMBOLIC_LINK type; use GFileInfo and G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK to determine whether a file is a symlink or not. This is due to the fact that NTFS does not have a single filesystem object type for symbolic links - it has files that symlink to files, and directories that symlink to directories. GFileType enumeration cannot precisely represent this important distinction, which is why all Windows symlinks will continue to be reported as REGULAR or DIRECTORY.