public class DetectChange
extends java.lang.Object
Constructor and Description |
---|
DetectChange(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptFile(java.lang.String filename) |
protected void |
checkSum() |
protected void |
compare() |
void |
execute() |
protected java.util.TreeMap |
loadFiles(java.io.File directory) |
protected void |
loadFiles(java.util.TreeMap fileSet,
java.io.File directory,
java.lang.String subdir) |
protected java.util.List |
loadPatternFromFile(java.lang.String file) |
static void |
main(java.lang.String[] args) |
protected java.lang.String |
patternToRegEx(java.lang.String pattern) |
protected void |
processArguments(java.lang.String[] args) |
protected void |
showHelp() |
public DetectChange(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException, java.security.NoSuchAlgorithmException
args
- java.io.IOException
java.security.NoSuchAlgorithmException
protected void processArguments(java.lang.String[] args) throws java.io.IOException
java.io.IOException
protected java.util.List loadPatternFromFile(java.lang.String file) throws java.io.IOException
java.io.IOException
protected java.lang.String patternToRegEx(java.lang.String pattern)
protected void showHelp()
public void execute() throws java.security.NoSuchAlgorithmException, java.io.IOException
java.security.NoSuchAlgorithmException
java.io.IOException
protected void checkSum() throws java.security.NoSuchAlgorithmException, java.io.IOException
java.security.NoSuchAlgorithmException
java.io.IOException
protected void compare() throws java.security.NoSuchAlgorithmException, java.io.IOException
java.security.NoSuchAlgorithmException
java.io.IOException
protected java.util.TreeMap loadFiles(java.io.File directory) throws java.security.NoSuchAlgorithmException, java.io.IOException
java.security.NoSuchAlgorithmException
java.io.IOException
protected void loadFiles(java.util.TreeMap fileSet, java.io.File directory, java.lang.String subdir) throws java.security.NoSuchAlgorithmException, java.io.IOException
java.security.NoSuchAlgorithmException
java.io.IOException
protected boolean acceptFile(java.lang.String filename)