gatewayimporter.java
来自「Jive是基于JSP/JAVA技术构架的一个大型BBS论坛系统,这是Jive论坛」· Java 代码 · 共 38 行
JAVA
38 行
/** * $RCSfile: GatewayImporter.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 java.util.Date;/** * A gateway importer knows how to import forum data from an external data * source. It can be combined with a gateway exporter to make a full gateway. * * @see Gateway * @see GatewayExporter */public interface GatewayImporter { /** * Import data from the data source into the specified forum. For example, * a concrete implementation of this interface might poll a newsgroup and * add new messages to the forum. * * @param date the oldest cutoff date for data to import. */ public void importData(Date date) throws GatewayException; /** * Stop a running import. */ public void stop() throws GatewayException;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?