FileOpener

interface FileOpener<Data>

Allows opening a specific type of data from a java.io.File.

Parameters

<Data>

The type of data that can be opened.

Functions

Link copied to clipboard
abstract fun close(data: Data)
Link copied to clipboard
abstract fun getDataClass(): Class<Data>
Link copied to clipboard
abstract fun open(file: File): Data