ResolvableMedia

data class ResolvableMedia(path: String, workingDirectory: File? = null) : Media

A generic media that is yet to be resolved to a Media subclass.

Parameters

path

path to the media, either a file or a URL

workingDirectory

directory to resolve the media from, in case the path is relative

Constructors

Link copied to clipboard
constructor(path: String, workingDirectory: File? = null)

Functions

Link copied to clipboard
open override fun <T> accept(visitor: MediaVisitor<T>): T