Interface CustomFileManager
-
- All Known Implementing Classes:
CustomFileManagerImpl
public interface CustomFileManager
This 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 void
add(java.io.File file)
adds a file to the managervoid
addListener(CustomFileManagerListener listener)
adds a listener to theCustomFileManager
java.util.List<java.io.File>
getFiles()
void
remove(java.io.File file)
removes a file from the manager.void
removeListener(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
-
-