public class NoDupsFileFilter extends Object implements FileFilter
FileFilter
interface used by FileManagerTask to
track what files were copied from the source to destination.Constructor and Description |
---|
NoDupsFileFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(String action,
FileResource file)
Checks if file already exists in the history.
|
void |
read(String name)
Read history.
|
void |
store(String name)
Store history.
|
public boolean exists(String action, FileResource file)
FileFilter
exists
in interface FileFilter
action
- the actionfile
- the filepublic void read(String name) throws Exception
FileFilter
read
in interface FileFilter
name
- the nameException
- the exceptionpublic void store(String name) throws Exception
FileFilter
store
in interface FileFilter
name
- the nameException
- the exceptionCopyright © 2010-2020 Toolsverse. All Rights Reserved.