📄 i_replacecontent.java
字号:
/*------------------------------------------------------------------------------Name: I_ReplaceContent.javaProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.util;import java.util.Map;/** * Callback interface to replace a byte[], useful for example when publishing in * stream mode where you need to modify each chunk. */public interface I_ReplaceContent { /** * Replaces or modifies the oldcontent. The returned instance can be the same as * passed as the oldContent or it can be a new instance. * @param oldContent * @param clientProperties the map can either be used as attributes or it can be modified in * this method. * * @return value */ byte[] replace(byte[] oldContent, Map clientProperties);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -