Companion

Properties

Link copied to clipboard
@get:JvmStatic
@get:JvmName(name = "fidEllipses")
val FileID.fidEllipses: String

Returns the first and last 4 characters of the fid concatenated together with an ellipses between.

Functions

Link copied to clipboard
@JvmStatic
fun createFID(file: File): String

Creates an ID based off of the provided file's canonicalPath.

Link copied to clipboard
@JvmStatic
@JvmOverloads
@JvmName(name = "fidString")
fun FileID.toFIDString(defaultClassName: String = "Unknown", includeHashCode: Boolean = true): String

Helper for overriding a class's toString function.