gatewayexporter.java
来自「Jive是基于JSP/JAVA技术构架的一个大型BBS论坛系统,这是Jive论坛」· Java 代码 · 共 45 行
JAVA
45 行
/** * $RCSfile: GatewayExporter.java,v $ * $Revision: 1.2 $ * $Date: 2002/03/08 03:45:26 $ * * Copyright (C) 1999-2002 CoolServlets, Inc. All Rights Reserved. * * This software is the proprietary information of CoolServlets, Inc. * Use is subject to license terms. */package com.jivesoftware.forum.gateway;import com.jivesoftware.forum.*;/** * A gateway exporter knows how to export forum messages to an external data * source. It can be combined with a gateway importer to make a full gateway. * * @see Gateway * @see GatewayImporter */public interface GatewayExporter { /** * Export a single message to the data source. For example, a concrete * implementation of this interface might post the message to a newsgroup. * * @param message a message to export. */ public void exportData(ForumMessage message) throws GatewayException; /** * Export a group of messages to the data source. * * @param messages an array of messages to export. */ public void exportData(ForumMessage [] messages) throws GatewayException; /** * Stop a running export. */ public void stop() throws GatewayException;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?