ReadableResource

A resource that can be read. The simplest example is a file.

Functions

Link copied to clipboard
abstract fun getBaseName(): String
Short name that concisely describes this resource
Link copied to clipboard
abstract fun getDisplayName(): String
Human readable name of this resource
Link copied to clipboard
abstract fun getURI(): URI
Uniform resource identifier that uniquely describes this resource
Link copied to clipboard
abstract fun read(): InputStream
Returns an unbuffered InputStream that provides means to read the resource.