Used in simulation initialisation to ensure onky XML files are read as protocol files and previous results files are excluded. More...
Public Member Functions | |
Jfilter (String extension) | |
Initialised the file extension filter and sets the extension to the specified argument. More... | |
boolean | accept (File directory, String filename) |
Used to determine if a file should be excluded from the filter or whether the file name is acceptable. More... | |
Used in simulation initialisation to ensure onky XML files are read as protocol files and previous results files are excluded.
Used in simulation initialisation to ensure onky XML files are read as protocol files and previous results files are excluded. This can occur when a simulation is being restarted
utils.Jfilter.Jfilter | ( | String | extension | ) |
Initialised the file extension filter and sets the extension to the specified argument.
Initialised the file extension filter and sets the extension to the specified argument
extension | The file extension that should be filtered |
boolean utils.Jfilter.accept | ( | File | directory, |
String | filename | ||
) |
Used to determine if a file should be excluded from the filter or whether the file name is acceptable.
Used to determine if a file should be excluded from the filter or whether the file name is acceptable
directory | The directory of files being filtered |
filename | The filename being checked against the filter |