It will also write file information injected via the addFile() call to an output text file.
Important: files must be passed to compareNext() in the same order they were originally passed to addFile()!
Public Member Functions | |
| FileListComparer (BufferedReader in) | |
| FileListComparer (PrintWriter out) | |
| FileListComparer (BufferedReader in, PrintWriter out) | |
| void | close () |
| void | addFile (FileStats stat, String name) |
| boolean | inList (String name) |
| is file 'name' in the list? Only call this after calling compareNext() for the same file! | |
| boolean | compareNext (FileStats stat, String name) throws DirectorException |
| Vector | getDeleted () |
Protected Member Functions | |
| void | finalize () |
| String | nullify (String file) |
| int | fileCompareTo (String file1, String file2) |
Package Attributes | |
| BufferedReader | inlist = null |
| PrintWriter | outlist = null |
| String | current = null |
| Vector | attributes = null |
| String | currentName = null |
| boolean | matched = false |
| Vector | deleted = new Vector() |
Static Package Attributes | |
| static final String | separator = ":|:" |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
is file 'name' in the list? Only call this after calling compareNext() for the same file!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.5