public static interface DeletedTextInterceptor.Factory
DeletedTextInterceptor
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-DTIFactory.instance" /> </folder> </folder> </folder>
Modifier and Type | Method and Description |
---|---|
DeletedTextInterceptor |
createDeletedTextInterceptor(MimePath mimePath)
Creates a new interceptor for the given
MimePath . |
DeletedTextInterceptor createDeletedTextInterceptor(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
.