@Retention(value=SOURCE) public static @interface MIMEResolver.ExtensionRegistration
If this kind of registration seems to trivial you can try
MIMEResolver.NamespaceRegistration
or MIMEResolver.Registration
.
Modifier and Type | Required Element and Description |
---|---|
String |
displayName
Display name to present this type of objects to the user.
|
String[] |
extension
One or few extensions that should be recognized as given
MIMEResolver.ExtensionRegistration.mimeType() . |
String |
mimeType
Mime type to be assigned to files with
MIMEResolver.ExtensionRegistration.extension() . |
Modifier and Type | Optional Element and Description |
---|---|
int |
position
In case ordering of mime resolvers is important, one can
specify it by defining their
position . |
String[] |
showInFileChooser
Show file filters for this MIME type.
|
public abstract String displayName
public abstract String mimeType
MIMEResolver.ExtensionRegistration.extension()
.public abstract String[] extension
MIMEResolver.ExtensionRegistration.mimeType()
.public abstract int position
position
.public abstract String[] showInFileChooser