CS2103-AY1819S2-T12-3 / main

MediTabs: Medicine Stock Taking Application
https://cs2103-ay1819s2-t12-3.github.io/main/
MIT License
2 stars 4 forks source link

Add FileName validation to complement export command #45

Closed JonathanLeeWH closed 5 years ago

JonathanLeeWH commented 5 years ago

Add FileName validation to complement export command to ensure only certain filenames are allowed

For example filenames with invalid symbols such as but not limited to \ / : are not allowed

I might also not allow spaces due to potential problems when users want to use it with command line such as Windows build in cmd.exe, Linux distribution build in terminal and MacOS terminal

JonathanLeeWH commented 5 years ago

Add FileName.java to support FileName validation to complement export command. Besides, invalid symbols, spaces are also not allowed. Pull Request #30