PTP
Release 7.0

org.eclipse.ptp.rdt.sync.core
Class AbstractSyncFileFilter.AbstractIgnoreRule

java.lang.Object
  extended by org.eclipse.ptp.rdt.sync.core.AbstractSyncFileFilter.AbstractIgnoreRule
Enclosing class:
AbstractSyncFileFilter

public abstract class AbstractSyncFileFilter.AbstractIgnoreRule
extends Object

Abstract class for ignore rules


Constructor Summary
AbstractSyncFileFilter.AbstractIgnoreRule()
           
 
Method Summary
 boolean equals(Object o)
           
abstract  String getPattern()
           
abstract  boolean getResult()
           
 int hashCode()
           
abstract  boolean isMatch(IResource target)
           
abstract  boolean isMatch(String target, boolean isFolder)
           
abstract  String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractSyncFileFilter.AbstractIgnoreRule

public AbstractSyncFileFilter.AbstractIgnoreRule()
Method Detail

isMatch

public abstract boolean isMatch(IResource target)

isMatch

public abstract boolean isMatch(String target,
                                boolean isFolder)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getResult

public abstract boolean getResult()
Returns:
true if the target is to be ignored, false otherwise.

toString

public abstract String toString()
Overrides:
toString in class Object
Returns:
String representing the full pattern (e.g. including an encoding for exclude)

getPattern

public abstract String getPattern()
Returns:
String without encoding of extra flags which are querryable separately (currently only exclude)

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.