create

fun <T : FileBind> create(clazz: Class<T>): T

Creates a new instance of the specified class and binds it to the file.

Return

The instance of the class.

Parameters

clazz

The class to bind the file to.