public static interface TypedTextInterceptor.Factory
TypedTextInterceptor
s
in MimeLookup
. An example registration in an XML layer shown
below registers Factory
implementation under text/x-something
mime type in MimeLookup
.
<folder name="Editors"> <folder name="text"> <folder name="x-something"> <file name="org-some-module-TTIFactory.instance" /> </folder> </folder> </folder>
Modifier and Type | Method and Description |
---|---|
TypedTextInterceptor |
createTypedTextInterceptor(MimePath mimePath)
Creates a new interceptor for the given
MimePath . |
TypedTextInterceptor createTypedTextInterceptor(MimePath mimePath)
MimePath
.mimePath
- The MimePath
for which the infrastructure
needs the new interceptor. Typically this is the same MimePath
where this Factory
was registered, but in embedded scenarios
this can be a different MimePath
.