nullarchivepreverificationlistener.java

来自「配置文件」· Java 代码 · 共 61 行

JAVA
61
字号
/**
 * Copyright (c) 2003-2005 Craig Setera
 * All Rights Reserved.
 * Licensed under the Eclipse Public License - v 1.0
 * For more information see http://www.eclipse.org/legal/epl-v10.html
 */
package eclipseme.preverifier;

import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;

import eclipseme.preverifier.results.PreverificationResults;

/**
 * Null implementation of the IArchivePreverificationListener
 * implementation.
 * <p />
 * Copyright (c) 2003-2005 Craig Setera<br>
 * All Rights Reserved.<br>
 * Licensed under the Eclipse Public License - v 1.0<p/>
 * <br>
 * $Revision: 1.1 $
 * <br>
 * $Date: 2005/09/25 23:53:31 $
 * <br>
 * @author Craig Setera
 */
public class NullArchivePreverificationListener 
	implements IArchivePreverificationListener 
{
	/**
	 * @see eclipseme.preverifier.IArchivePreverificationListener#fileBegin(java.util.zip.ZipFile)
	 */
	public void fileBegin(ZipFile archive) {
	}

	/**
	 * @see eclipseme.preverifier.IArchivePreverificationListener#classBegin(java.util.zip.ZipFile, java.util.zip.ZipEntry)
	 */
	public boolean classBegin(ZipFile archive, ZipEntry classEntry) {
		return true;
	}

	/**
	 * @see eclipseme.preverifier.IArchivePreverificationListener#classEnd(java.util.zip.ZipFile, java.util.zip.ZipEntry, eclipseme.preverifier.results.PreverificationResults)
	 */
	public boolean classEnd(
			ZipFile archive, 
			ZipEntry classEntry,
			PreverificationResults results) 
	{
		return true;
	}

	/**
	 * @see eclipseme.preverifier.IArchivePreverificationListener#fileEnd(java.util.zip.ZipFile)
	 */
	public void fileEnd(ZipFile archive) {
	}
}

⌨️ 快捷键说明

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