Class ClientIgnoreChecker
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.rpc.func.client.ClientIgnoreChecker
-
public class ClientIgnoreChecker extends java.lang.Object
Handle the checking of patterns in ignore files.
-
-
Constructor Summary
Constructors Constructor Description ClientIgnoreChecker(java.lang.String clientRoot, java.lang.String ignoreFileName, java.nio.charset.Charset charset)
Instantiates a new ignore file checker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(java.io.File file)
Check for an ignore match of the file.
-
-
-
Constructor Detail
-
ClientIgnoreChecker
public ClientIgnoreChecker(java.lang.String clientRoot, java.lang.String ignoreFileName, java.nio.charset.Charset charset)
Instantiates a new ignore file checker.- Parameters:
clientRoot
- the client rootignoreFileName
- the ignore file namecharset
- the charset
-
-
Method Detail
-
match
public boolean match(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException
Check for an ignore match of the file.- Parameters:
file
- the file- Returns:
- true, if successful
- Throws:
java.io.FileNotFoundException
- the file not found exceptionjava.io.IOException
- Signals that an I/O exception has occurred.
-
-