batchmanager.java

来自「It is the Speech recognition software. 」· Java 代码 · 共 60 行

JAVA
60
字号
/* * Copyright 2004 Carnegie Mellon University.   * Portions Copyright 2004 Sun Microsystems, Inc.   * Portions Copyright 2004 Mitsubishi Electric Research Laboratories. * All Rights Reserved.  Use is subject to license terms. *  * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL  * WARRANTIES. * */package edu.cmu.sphinx.util;import java.io.IOException;/** * Provides a standard interface to a batching mechanism * */public interface BatchManager {    /**     * Starts processing the batch     *     * @throws IOException if an error occurs while processing the     * batch file     */    public void start() throws IOException;    /**     * Gets the next available batch item or null if no more are     * available     *     * @return the next available batch item     *     * @throws IOException if an error occurs while processing the     * batch file     */    public BatchItem getNextItem() throws IOException ;    /**     * Stops processing the batch     *     * @throws IOException if an error occurs while processing the     * batch file     */    public void stop() throws IOException;    /**     * Returns the name of the file     *     * @return the filename     */    public String getFilename();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?