public class ClientIgnoreChecker
extends java.lang.Object
Constructor and Description |
---|
ClientIgnoreChecker(java.lang.String clientRoot,
java.lang.String ignoreFileName,
java.nio.charset.Charset charset)
Instantiates a new ignore file checker.
|
Modifier and Type | Method and Description |
---|---|
boolean |
match(java.io.File file)
Check for an ignore match of the file.
|
public ClientIgnoreChecker(java.lang.String clientRoot, java.lang.String ignoreFileName, java.nio.charset.Charset charset)
clientRoot
- the client rootignoreFileName
- the ignore file namecharset
- the charsetpublic boolean match(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException
file
- the filejava.io.FileNotFoundException
- the file not found exceptionjava.io.IOException
- Signals that an I/O exception has occurred.