public abstract class AbstractFileInfoMatcher extends Object
Constructor and Description |
---|
AbstractFileInfoMatcher() |
Modifier and Type | Method and Description |
---|---|
abstract void |
initialize(IProject project,
Object arguments)
Sets initialization data for this matcher.
|
abstract boolean |
matches(IContainer parent,
IFileInfo fileInfo)
Tests the given
FileInfo |
public abstract boolean matches(IContainer parent, IFileInfo fileInfo) throws CoreException
FileInfo
parent
- the parent containerfileInfo
- the FileInfo
object to testtrue
if the given FileInfo
matches,
and false
otherwise.CoreException
- the implementor should throw a CoreException if,
in the case that the parent or fileInfo doesn't exist in the workspace
or in the file system, the return value can't be determined.public abstract void initialize(IProject project, Object arguments) throws CoreException
project
- arguments
- CoreException
- if initialization failed
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.