@Target({TYPE,METHOD})
@Retention(SOURCE)
public @interface MimeRegistration
| Modifier and Type | Required Element | Description |
|---|---|---|
java.lang.String |
mimeType |
Mime type to which should be the given provider registered.
|
java.lang.Class<?> |
service |
The API service.
|
| Modifier and Type | Optional Element | Description |
|---|---|---|
int |
position |
Position of the provider in the list of providers.
|
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.