MimeDataProvider
instead.@Deprecated public interface MimeLookupInitializer
ServiceProvider
.
MimeLookupInitializer.child(String)
which will lead to forming of a tree initializers hierarchy.
MimeLookupInitializer.lookup()
of the global-level initializer
(the one registered in the layer) will automatically appear
in all the results returned by MimeLookup
for any particular mime type.
MimeLookup
for a specific mime-type
by using MimeLookup.getMimeLookup(String)
the global level initializer will be asked for MimeLookupInitializer.child(String)
and the MimeLookupInitializer.lookup()
on the returned children
will define the result data (together with the global-level initializer's lookup).
Modifier and Type | Method and Description |
---|---|
Lookup.Result<MimeLookupInitializer> |
child(String mimeType)
Deprecated.
Retrieves a Lookup.Result of MimeLookupInitializers for the given sub-mimeType.
|
Lookup |
lookup()
Deprecated.
Lookup providing mime-type sensitive or global-level data
depending on which level this initializer is defined.
|
Lookup lookup()
Lookup.Result<MimeLookupInitializer> child(String mimeType)
mimeType
- mime-type string representation e.g. "text/x-java"