klyn.gui.windows.filesystem.FileSystemIcons.kindFor
method
public static kindFor(path as Path, folder as Boolean = false, volume as Boolean = false) as String
Description

Classifies an already known entry without checking its existence or type.

Parameters
ParameterDescription
pathTyped path, or null for a generic document.
folderKnown directory flag; FolderPath also implies a directory.
volumeKnown filesystem root/volume flag.
Returns

A kind accepted by draw().

Example

kind = FileSystemIcons.kindFor(FilePath("main.kn"))