⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lineprocessor.java

📁 这是一个基于java编写的torrent的P2P源码
💻 JAVA
字号:
// ===========================================================================
// CONTENT  : INTERFACE LineProcessor
// AUTHOR   : Manfred Duchrow
// VERSION  : 1.0 - 02/07/2003
// HISTORY  :
//  02/07/2003  mdu  CREATED
//
// Copyright (c) 2003, by Manfred Duchrow. All rights reserved.
// ===========================================================================
package org.pf.file ;

// ===========================================================================
// IMPORTS
// ===========================================================================

/**
 * A simple interface that allows processing a longer text line by line.
 * Usually used together with FileUtil.processTextLines().
 *
 * @author Manfred Duchrow
 * @version 1.0
 */
public interface LineProcessor
{
  // =========================================================================
  // PUBLIC INSTANCE METHODS
  // =========================================================================

	/**
	 * Processes the given line and returns true if the caller should continue.
	 * If false is returned, the caller should stop.
	 * 
	 * @param line The line to process (must not be null)
	 * @param lineNo	The linen number (starting with 1)
	 */
	public boolean processLine( String line, int lineNo ) ;

	// -------------------------------------------------------------------------
	
} // interface LineProcessor

⌨️ 快捷键说明

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