com.perforce.p4java.impl.mapbased.rpc.func.client
Class ClientIgnoreChecker
java.lang.Object
com.perforce.p4java.impl.mapbased.rpc.func.client.ClientIgnoreChecker
public class ClientIgnoreChecker
- extends Object
Handle the checking of patterns in ignore files.
|
Method Summary |
boolean |
match(File file)
Check for an ignore match of the file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientIgnoreChecker
public ClientIgnoreChecker(String clientRoot,
String ignoreFileName,
Charset charset)
- Instantiates a new ignore file checker.
- Parameters:
clientRoot - the client rootignoreFileName - the ignore file namecharset - the charset
match
public boolean match(File file)
throws FileNotFoundException,
IOException
- Check for an ignore match of the file.
- Parameters:
file - the file
- Returns:
- true, if successful
- Throws:
FileNotFoundException - the file not found exception
IOException - Signals that an I/O exception has occurred.
Copyright © 2015 Perforce Software. All Rights Reserved.