coprogress.java

来自「用java实现的摄像头编程」· Java 代码 · 共 41 行

JAVA
41
字号
/*
 * Version 0.70 01/04/2002
 *
 * Visit my url for update: http://www.geocities.com/beapetrovicova/
 * 
 * jFtp was developed by Bea Petrovicova <beapetrovicova@yahoo.com>.
 * The design and implementation of jFtp are available for royalty-free 
 * adoption and use. This software is provided 'as is' without any 
 * guarantees. Copyright is retained by Bea Petrovicova. Redistribution 
 * of any part of jFtp or any derivative works must include this notice.
 * 
 */

package cz.dhl.ui;

import cz.dhl.io.CoFile;

/**
 * Defines interface to display progress.
 * 
 * @Version 0.70 01/04/2002
 * @author Bea Petrovicova <beapetrovicova@yahoo.com>  
 */
public interface CoProgress
{
   /** Sets file. 
    * @param file Source file */
   abstract public void setFile(CoFile file);
   /** Sets to and file.
    * @param to Destination file 
    * @param file Source file */
   abstract public void setFile(CoFile to, CoFile file);
   /** Sets progress. 
    * @param increment Bytes transfered  */
   abstract public void setProgress(int increment);
   /** Handles transfer delay. */
   abstract public void setDelay(long increment);
   /** Chcecks for user abort request. */
   abstract public boolean isAborted();
}

⌨️ 快捷键说明

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