|
org.netbeans.modules.editor.mimelookup/1 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MimeDataProvider
Provides a Lookup
for the specific MimePath
.
The implementations of this interface should be registered among the services in the default lookup, for details look at META-INF/services registration.
Method Summary | |
---|---|
Lookup |
getLookup(MimePath mimePath)
Retrieves a Lookup for the given MimePath . |
Method Detail |
---|
Lookup getLookup(MimePath mimePath)
Lookup
for the given MimePath
.
The Lookup
returned by this method should hold a reference
to the MimePath
it was created for.
The implementors should consider caching of the Lookup
instances
returned by this method for performance reasons. The MimePath
object can be used as a stable key for such a cache, because it implements
its equals
and hashCode
method in the suitable way.
mimePath
- The mime path to get the Lookup
for. The mime
path passed in can't be null
, but it can be the
MimePath.EMPTY
mime path.
Lookup
for the given MimePath
or
null
if there is no lookup available for this mime path.
|
org.netbeans.modules.editor.mimelookup/1 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |