Package org.daisy.braille.pef
Class PEFFileBatchCompare
java.lang.Object
org.daisy.braille.pef.PEFFileBatchCompare
Provides comparing of two folders with xml files for differences.
Meta data in the files is ignored when comparing.
A flat organization of files is assumed.
Warnings are generated if stray files are found (a file with the same name
cannot be found in the other folder) or if the folders contain folders
or files not matching the file filter.
- Author:
- Joel HÃ¥kansson
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionPEFFileBatchCompare
(FileFilter filter) PEFFileBatchCompare
(FileFilter filter, NormalizationResource nr) -
Method Summary
Modifier and TypeMethodDescriptionint
getDiffs()
getOk()
void
void
setUnbraillerTable
(String unbraillerTable)
-
Constructor Details
-
PEFFileBatchCompare
- Parameters:
path1
- a folderpath2
- another folder- Throws:
FileNotFoundException
IllegalArgumentException
- if path is not a directory
-
PEFFileBatchCompare
-
-
Method Details
-
getUnbraillerTable
-
setUnbraillerTable
-
run
- Throws:
FileNotFoundException
-
getNotices
-
getWarnings
-
getDiffs
-
getOk
-
checkedCount
public int checkedCount()
-