⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 i_replacecontent.java

📁 java开源的企业总线.xmlBlaster
💻 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 + -