Package com.io7m.jwheatsheaf.ui
Interface JWFileItemType
-
- All Known Implementing Classes:
JWFileItem
@Immutable public interface JWFileItemTypeA resolved file item.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.Optional<java.lang.String>displayName()JWFileKindkind()java.nio.file.attribute.FileTimemodifiedTime()default java.lang.Stringname()java.nio.file.Pathpath()longsize()
-
-
-
Method Detail
-
kind
JWFileKind kind()
- Returns:
- The file kind
-
path
java.nio.file.Path path()
- Returns:
- The file path
-
size
long size()
- Returns:
- The file size
-
modifiedTime
java.nio.file.attribute.FileTime modifiedTime()
- Returns:
- The file modification time
-
displayName
java.util.Optional<java.lang.String> displayName()
- Returns:
- The file display name override, if any
-
name
default java.lang.String name()
- Returns:
- The display name, taking into account any present override
-
-