Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun <T : Any> convertFile(input: File, fromType: FileFormat<T>?, toType: FileFormat<T>, renamerContext: TemplateContext)

A top level function that is able to detect the medium and uses the proper processor to convert the input to the output type with the appropriate renamerContext assigned.

Link copied to clipboard
fun init()
Link copied to clipboard
fun <T> pushConversionRequests(folder: Path, vararg requests: ConversionRequest<T>)

Inserts rules for a certain folder. These are ConversionRequest and define how a file format should go become into another file format.

Link copied to clipboard
fun registerFolder(folder: Path, viewCurrentFiles: Boolean = false): List<Path>?

Subscribes the watchdog and prepares the maestro to attend to folder.

Link copied to clipboard
fun removeFolder(folder: Path)
Link copied to clipboard
Link copied to clipboard