iresourcefilter.java
来自「配置文件」· Java 代码 · 共 49 行
JAVA
49 行
/**
* Copyright (c) 2004 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.core.model;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
/**
* This interface represents a filter controlling
* inclusion of resources into the packaged output.
* <p>
* <b>Note:</b> This class/interface is part of an interim API that is still under development and expected to
* change before reaching stability. It is being made available at this early stage to solicit feedback
* from pioneering adopters on the understanding that any code that uses this API will almost
* certainly be broken as the API evolves.
* </p>
* Copyright (c) 2004 Craig Setera<br>
* All Rights Reserved.<br>
* Licensed under the Eclipse Public License - v 1.0<p/>
* <br>
* $Revision: 1.3 $
* <br>
* $Date: 2004/11/22 02:11:42 $
* <br>
* @author Craig Setera
*/
public interface IResourceFilter {
/**
* Return a boolean indicating whether the specified
* container should be traversed.
*
* @param container the container to be traversed
* @return whether the container should be traversed
*/
public boolean shouldTraverseContainer(IContainer container);
/**
* Return a boolean indicating whether the specified
* file should be included.
*
* @param file the file to be tested
* @return whether the file should be included
*/
public boolean shouldBeIncluded(IFile file);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?