- java.lang.Object
-
- org.scijava.desktop.FileType
-
public class FileType extends Object
Struct storing metadata about a particular file type.- Author:
- Curtis Rueden
-
-
Field Detail
-
extension
public final String extension
File extension without leading dot (e.g."png").
-
mimeType
public final String mimeType
MIME type (e.g."image/png"), or a wildcard of the form"category/*"(e.g."image/*") if the specific type is unknown. Wildcard values are resolved against the bundled MIME database by extension; if still unresolved, the sentinel is preserved for platform-specific code to handle at OS registration time.
-
description
public final String description
Human-readable description of the file type (e.g."Gatan Digital Micrograph image"), used as the label when registering a custom MIME type, ornullto synthesize one from the extension.
-
-