com.perforce.p4java.impl.mapbased.rpc.func.client
Class ClientIgnoreChecker

java.lang.Object
  extended by com.perforce.p4java.impl.mapbased.rpc.func.client.ClientIgnoreChecker

public class ClientIgnoreChecker
extends Object

Handle the checking of patterns in ignore files.


Constructor Summary
ClientIgnoreChecker(String clientRoot, String ignoreFileName, Charset charset)
          Instantiates a new ignore file checker.
 
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
 

Constructor Detail

ClientIgnoreChecker

public ClientIgnoreChecker(String clientRoot,
                           String ignoreFileName,
                           Charset charset)
Instantiates a new ignore file checker.

Parameters:
clientRoot - the client root
ignoreFileName - the ignore file name
charset - the charset
Method Detail

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.