-
- All Implemented Interfaces:
public class MimeInfoExtensionMimeInfo plugin extension.
-
-
Field Summary
Fields Modifier and Type Field Description private final Map<File, MimeInfoSpecs>mimeInfoFiles
-
Constructor Summary
Constructors Constructor Description MimeInfoExtension(Project project)
-
Method Summary
Modifier and Type Method Description final Map<File, MimeInfoSpecs>getMimeInfoFiles()The MimeInfoSpecs with the given file name. final Unitmimeinfo(String fileName, Function1<MimeInfoContext, Unit> configuration)Define a new MimeInfo object in the plugin configuration. -
-
Method Detail
-
getMimeInfoFiles
final Map<File, MimeInfoSpecs> getMimeInfoFiles()
The MimeInfoSpecs with the given file name.
-
mimeinfo
final Unit mimeinfo(String fileName, Function1<MimeInfoContext, Unit> configuration)
Define a new MimeInfo object in the plugin configuration.
- Parameters:
fileName- The temporary file name where to save the MimeInfo specification.configuration- The configuration to be called on the MimeInfo context.
-
-
-
-