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

📄 filenamefilterfactory.java

📁 一个简易的轮训小程序 哈哈哈哈哈哈后 嘿嘿嘿嘿黑诶
💻 JAVA
字号:
/*
 * Created on Sep 9, 2004
 */
package org.sadun.util.polling;

import java.io.FilenameFilter;

/**
 * his interface is used in conjunction with the JMX instrumentation
 * {@link ManagedDirectoryPoller ManagedDirectoryPoller} of {@link 
 * DirectoryPoller DirectoryPoller}.
 * <p>
 * The JMX console user can specify the name of a class implementing
 * this interface, which is in turn used to produce a {@link FilenameFilter
 * FilenameFilter} object which is added to {@link ManagedDirectoryPoller 
 * ManagedDirectoryPoller}.
 * <p>
 * The implementing class must have a public default constructor.
 *  
 * @author Cristiano Sadun
 */
public interface FilenameFilterFactory {
	
	/**
	 * Create the {@link java.io.FilenameFilter} to add to the 
	 * {@link ManagedDirectoryPoller} MBean.
	 * <p>
	 * The MBean JMX <tt>ObjectName</tt> is passed to the factory,
	 * so that it can discriminate among different Mbean instances.
	 * <p>
	 * @param mBeanName the <tt>ObjectName</tt> of the MBean to which the 
	 *         {@link java.io.FilenameFilter}s are going to be added.
	 * @return java.io.FilenameFilter the filter object to use.
	 */
	public FilenameFilter createFilenameFilter(String mbeanName);

	/**
	 * Provides a description of the factory.
	 * @return String
	 */
	public String getDescription();
}

⌨️ 快捷键说明

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