interface ReadableResource : Resource
A resource that can be read. The simplest example is a file.
abstract fun read(): InputStream
Returns an unbuffered InputStream that provides means to read the resource. It is the caller's responsibility to close this stream. |
abstract fun getBaseName(): String
Short name that concisely describes this resource |
|
abstract fun getDisplayName(): String
Human readable name of this resource |
|
abstract fun getURI(): URI
Uniform resource identifier that uniquely describes this resource |