I will blog about new technologies and resolving issues we face daily while developing the web application. util methods which will help in code reuse.
Monday, March 23, 2015
Get all files from parent/sub folders along with file size
In Java, you can use the File.length() method to get the file size in bytes and folder.listFiles() method to get all file/folders.
No comments:
Post a Comment