KobwebReadableTextFile

open class KobwebReadableTextFile<T : Any>(val kobwebFolder: KobwebFolder, name: String, deserialize: (String) -> T)(source)

Inheritors

Constructors

Link copied to clipboard
constructor(kobwebFolder: KobwebFolder, name: String, deserialize: (String) -> T)

Properties

Link copied to clipboard
val content: T?

The content of this text file, post-deserialization.

Link copied to clipboard

An exception which will be set if content fails to get set due to a deserialization error.

Link copied to clipboard
Link copied to clipboard
val path: Path