|
Node Director
|
FileListComparer compares a list of files injected with compareNext() calls and their attributes with a list of files held in a text file. More...
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) |
FileListComparer compares a list of files injected with compareNext() calls and their attributes with a list of files held in a text file.
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()!
| sfi.director.util.FileListComparer.FileListComparer | ( | BufferedReader | in | ) |
| sfi.director.util.FileListComparer.FileListComparer | ( | PrintWriter | out | ) |
| sfi.director.util.FileListComparer.FileListComparer | ( | BufferedReader | in, |
| PrintWriter | out | ||
| ) |
| void sfi.director.util.FileListComparer.addFile | ( | FileStats | stat, |
| String | name | ||
| ) |
| void sfi.director.util.FileListComparer.close | ( | ) |
| boolean sfi.director.util.FileListComparer.compareNext | ( | FileStats | stat, |
| String | name | ||
| ) | throws DirectorException |
|
protected |
Referenced by sfi.director.util.FileListComparer.compareNext().
|
protected |
References sfi.director.util.FileListComparer.close().
| Vector sfi.director.util.FileListComparer.getDeleted | ( | ) |
| boolean sfi.director.util.FileListComparer.inList | ( | String | name | ) |
is file 'name' in the list? Only call this after calling compareNext() for the same file!
|
protected |
1.8.1.2