Interface CustomFileManager
-
- All Known Implementing Classes:
CustomFileManagerImpl
public interface CustomFileManagerThis is the interface of a class which keeps track of custom files, that can be added and executed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(java.io.File file)adds a file to the managervoidaddListener(CustomFileManagerListener listener)adds a listener to theCustomFileManagerjava.util.List<java.io.File>getFiles()voidremove(java.io.File file)removes a file from the manager.voidremoveListener(CustomFileManagerListener listener)removes a listener from theCustomFileManager
-
-
-
Method Detail
-
add
void add(java.io.File file)
adds a file to the manager- Parameters:
file- the file to add
-
remove
void remove(java.io.File file)
removes a file from the manager.- Parameters:
file- the file to remove
-
getFiles
java.util.List<java.io.File> getFiles()
- Returns:
- all the currently available files
-
addListener
void addListener(CustomFileManagerListener listener)
adds a listener to theCustomFileManager- Parameters:
listener- the listener to add
-
removeListener
void removeListener(CustomFileManagerListener listener)
removes a listener from theCustomFileManager- Parameters:
listener- the listener to remove
-
-