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.

sample code


0 comments:

Post a Comment