recorder.java

来自「本程序在Unix_Linux环境下用Java语言编写的文件下载程序」· Java 代码 · 共 21 行

JAVA
21
字号
package loader.recorder;

import java.util.*;
import java.io.*;
/**
	every loader has a concrete recorder to trace his activities. here, perpahs just tell his 
	container how many bytes he has loaded.
	an example to implement this interface here is:***
*/

public interface Recorder{
	/**
		call by loader.
	*/
	public void log( String thrName, int value );
	/**
		call by loader manager.
	*/
	public Map<String,List<String>> load( File file ) throws Exception;
	public void log( File file ) throws Exception;
}

⌨️ 快捷键说明

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