punchware / JIO-Library

Automatically exported from code.google.com/p/gravity-jio
4 stars 4 forks source link

Feature 1.1- Function: List files (all file, or by file extension, or by date of file) in the designated folder #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) What the feature does?
- Function to list all files listed in the folder.

2) How the feature being implemented?
- 2 compulsory input:
  - path
  - ext (if disable assigned with "0")

3) Structure of this feature?
- listFileInFolder(path, ext)
- Should have a try catch block.
- If the folder/path are not existed, notify by returning an exception message.
- if the ext = 0, the function will listed all the file existed in the folder.
- if ext = {file extension}, example:"txt" or "csv" etc..., file will listed 
file with those extension only. 

4) Weightage of importance (low/medium/high)
- high

Original issue reported on code.google.com by gravitydevelopment on 10 Nov 2013 at 1:08